Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds the ServiceDefinition with the specified service type and service identifier. If no matching ServiceDefinition exists, null is returned.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Function FindServiceDefinition ( _
serviceType As String, _
serviceIdentifier As Guid _
) As ServiceDefinition
ServiceDefinition FindServiceDefinition(
string serviceType,
Guid serviceIdentifier
)
ServiceDefinition^ FindServiceDefinition(
String^ serviceType,
Guid serviceIdentifier
)
abstract FindServiceDefinition :
serviceType:string *
serviceIdentifier:Guid -> ServiceDefinition
function FindServiceDefinition(
serviceType : String,
serviceIdentifier : Guid
) : ServiceDefinition
Parameters
serviceType
Type: System.StringThe service type of the ServiceDefinition to find.
serviceIdentifier
Type: System.GuidThe service identifier of the ServiceDefinition to find.
Return Value
Type: Microsoft.TeamFoundation.Framework.Client.ServiceDefinition
The ServiceDefinition with the specified service type and service identifier. If no matching ServiceDefinition exists, null is returned.
.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.