Поделиться через


ConnectedServicesService.GetConnectedService Method

Get all of the data for a particular connected service

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Function GetConnectedService ( _
    name As String, _
    teamProject As String _
) As ConnectedService
public ConnectedService GetConnectedService(
    string name,
    string teamProject
)
public:
ConnectedService^ GetConnectedService(
    String^ name, 
    String^ teamProject
)
member GetConnectedService : 
        name:string * 
        teamProject:string -> ConnectedService
public function GetConnectedService(
    name : String, 
    teamProject : String
) : ConnectedService

Parameters

  • name
    Type: System.String

    Service name such as azure subscription id

  • teamProject
    Type: System.String

    Project name associated to this service

Return Value

Type: Microsoft.TeamFoundation.Framework.Client.ConnectedService
Connected service including the connection credentials

.NET Framework Security

See Also

Reference

ConnectedServicesService Class

Microsoft.TeamFoundation.Framework.Client Namespace