Queries the service identity with the given name.
Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Function QueryServiceIdentity ( _
    serviceIdentityName As String _
) As ServiceIdentity
ServiceIdentity QueryServiceIdentity(
    string serviceIdentityName
)
ServiceIdentity^ QueryServiceIdentity(
    String^ serviceIdentityName
)
abstract QueryServiceIdentity : 
        serviceIdentityName:string -> ServiceIdentity
function QueryServiceIdentity(
    serviceIdentityName : String
) : ServiceIdentity
Parameters
- serviceIdentityName 
 Type: System.String- The service identity name. 
Return Value
Type: Microsoft.TeamFoundation.Framework.Client.ServiceIdentity
The service identity.
.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.