Share via


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.String

    Name of services such as azure subscription id

  • teamProject
    Type: System.String

    Name of the project associated with this service

Return Value

Type: Microsoft.TeamFoundation.Server.Core.ConnectedService
A ConnectedService will all associated data.

.NET Framework Security

See Also

Reference

ConnectedServicesWebService Class

Microsoft.TeamFoundation.Server.Core.WebServices Namespace