Partager via


TeamFoundationResourceManagementService.GetServiceVersion Method

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

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.ServiceVersionInfo
Service version information

.NET Framework Security

See Also

Reference

TeamFoundationResourceManagementService Class

Microsoft.TeamFoundation.Framework.Server Namespace