Condividi tramite


TeamFoundationConnectedServicesService.QueryConnectedServices Method

Queries the connected services and returns a list of all connected services metadata (non-secret) associated with this project.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Function QueryConnectedServices ( _
    requestContext As TeamFoundationRequestContext, _
    teamProject As String _
) As List(Of ConnectedServiceMetadata)
public List<ConnectedServiceMetadata> QueryConnectedServices(
    TeamFoundationRequestContext requestContext,
    string teamProject
)
public:
List<ConnectedServiceMetadata^>^ QueryConnectedServices(
    TeamFoundationRequestContext^ requestContext, 
    String^ teamProject
)
member QueryConnectedServices : 
        requestContext:TeamFoundationRequestContext * 
        teamProject:string -> List<ConnectedServiceMetadata> 
public function QueryConnectedServices(
    requestContext : TeamFoundationRequestContext, 
    teamProject : String
) : List<ConnectedServiceMetadata>

Parameters

  • teamProject
    Type: System.String

    Name of the project associated with services.

Return Value

Type: System.Collections.Generic.List<ConnectedServiceMetadata>
List of ConnectedServiceMetadata.

.NET Framework Security

See Also

Reference

TeamFoundationConnectedServicesService Class

Microsoft.TeamFoundation.Server.Core Namespace