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.
Gets the version information for a particular service
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function GetServiceVersion ( _
requestContext As TeamFoundationRequestContext, _
serviceName As String, _
databaseCategory As String _
) As ServiceVersionInfo
public ServiceVersionInfo GetServiceVersion(
TeamFoundationRequestContext requestContext,
string serviceName,
string databaseCategory
)
public:
ServiceVersionInfo GetServiceVersion(
TeamFoundationRequestContext^ requestContext,
String^ serviceName,
String^ databaseCategory
)
member GetServiceVersion :
requestContext:TeamFoundationRequestContext *
serviceName:string *
databaseCategory:string -> ServiceVersionInfo
public function GetServiceVersion(
requestContext : TeamFoundationRequestContext,
serviceName : String,
databaseCategory : String
) : ServiceVersionInfo
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
serviceName
Type: System.StringThe name of the service
databaseCategory
Type: System.StringDatabase category.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.ServiceVersionInfo
Service version information
.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.