ResourceManagementComponent.TryGetServiceVersion Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function TryGetServiceVersion ( _
serviceName As String, _
<OutAttribute> ByRef schemaExists As Boolean _
) As ServiceVersionEntry
public ServiceVersionEntry TryGetServiceVersion(
string serviceName,
out bool schemaExists
)
public:
ServiceVersionEntry^ TryGetServiceVersion(
String^ serviceName,
[OutAttribute] bool% schemaExists
)
member TryGetServiceVersion :
serviceName:string *
schemaExists:bool byref -> ServiceVersionEntry
public function TryGetServiceVersion(
serviceName : String,
schemaExists : boolean
) : ServiceVersionEntry
Parameters
- serviceName
Type: System.String
- schemaExists
Type: System.Boolean%
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.ServiceVersionEntry
Returns ServiceVersionEntry.
.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.