ConnectedServicesWebService.GetConnectedService Method
Gets all info (including secret) for one connected service
Namespace: Microsoft.TeamFoundation.Server.Core.WebServices
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function GetConnectedService ( _
name As String, _
teamProject As String _
) As ConnectedService
[WebMethodAttribute]
public ConnectedService GetConnectedService(
string name,
string teamProject
)
[WebMethodAttribute]
public:
ConnectedService^ GetConnectedService(
String^ name,
String^ teamProject
)
[<WebMethodAttribute>]
member GetConnectedService :
name:string *
teamProject:string -> ConnectedService
public function GetConnectedService(
name : String,
teamProject : String
) : ConnectedService
Parameters
name
Type: System.StringName of services such as azure subscription id
teamProject
Type: System.StringName of the project associated with this service
Return Value
Type: Microsoft.TeamFoundation.Server.Core.ConnectedService
A ConnectedService will all associated data.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.