Share via


TeamFoundationResourceManagementService.SetServiceVersion Method

Sets the service version.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub SetServiceVersion ( _
    requestContext As TeamFoundationRequestContext, _
    serviceName As String, _
    databaseCategory As String, _
    serviceVersion As Integer, _
    minServiceVersion As Integer _
)
public void SetServiceVersion(
    TeamFoundationRequestContext requestContext,
    string serviceName,
    string databaseCategory,
    int serviceVersion,
    int minServiceVersion
)
public:
void SetServiceVersion(
    TeamFoundationRequestContext^ requestContext, 
    String^ serviceName, 
    String^ databaseCategory, 
    int serviceVersion, 
    int minServiceVersion
)
member SetServiceVersion : 
        requestContext:TeamFoundationRequestContext * 
        serviceName:string * 
        databaseCategory:string * 
        serviceVersion:int * 
        minServiceVersion:int -> unit
public function SetServiceVersion(
    requestContext : TeamFoundationRequestContext, 
    serviceName : String, 
    databaseCategory : String, 
    serviceVersion : int, 
    minServiceVersion : int
)

Parameters

  • serviceVersion
    Type: System.Int32

    Version of the service. -1 means to remove the row

  • minServiceVersion
    Type: System.Int32

    Minimum supported version.

.NET Framework Security

See Also

Reference

TeamFoundationResourceManagementService Class

Microsoft.TeamFoundation.Framework.Server Namespace