Freigeben über


TeamFoundationResourceManagementService.SetServiceVersion-Methode

Legt die Dienstversion fest.

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
)

Parameter

  • serviceVersion
    Typ: System.Int32
    Version des Diensts.-1 bedeutet, dass der Zeile zu entfernen
  • minServiceVersion
    Typ: System.Int32
    Minimum unterstützte Version.

.NET Framework-Sicherheit

Siehe auch

Referenz

TeamFoundationResourceManagementService Klasse

Microsoft.TeamFoundation.Framework.Server-Namespace