共用方式為


TeamFoundationResourceManagementService.SetServiceVersion 方法

設定服務版本。

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
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
)

參數

  • serviceVersion
    型別:System.Int32
    服務的版本。-1 表示移除資料列
  • minServiceVersion
    型別:System.Int32
    最小支援的版本。

.NET Framework 安全性

請參閱

參考

TeamFoundationResourceManagementService 類別

Microsoft.TeamFoundation.Framework.Server 命名空間