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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- name
Type: System.String
- teamProject
Type: System.String
Return Value
Type: System.Boolean
.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.