共用方式為


TeamFoundationConnectedServicesService.DoesConnectedServiceExist Method

Checks if a connected service exists anywhere in the collection, if user has full permissions in specified project.

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

Syntax

'Declaration
Public Function DoesConnectedServiceExist ( _
    requestContext As TeamFoundationRequestContext, _
    name As String, _
    teamProject As String _
) As Boolean
public bool DoesConnectedServiceExist(
    TeamFoundationRequestContext requestContext,
    string name,
    string teamProject
)
public:
bool DoesConnectedServiceExist(
    TeamFoundationRequestContext^ requestContext, 
    String^ name, 
    String^ teamProject
)
member DoesConnectedServiceExist : 
        requestContext:TeamFoundationRequestContext * 
        name:string * 
        teamProject:string -> bool
public function DoesConnectedServiceExist(
    requestContext : TeamFoundationRequestContext, 
    name : String, 
    teamProject : String
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

TeamFoundationConnectedServicesService Class

Microsoft.TeamFoundation.Server.Core Namespace