共用方式為


TeamFoundationHostManagementService.DeleteServiceHost 方法 (TeamFoundationRequestContext, Guid)

從伺服器刪除一服務主機。

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

語法

'宣告
Public Sub DeleteServiceHost ( _
    requestContext As TeamFoundationRequestContext, _
    hostId As Guid _
)
public void DeleteServiceHost(
    TeamFoundationRequestContext requestContext,
    Guid hostId
)

參數

  • hostId
    型別:System.Guid
    要刪除的主應用程式。

.NET Framework 安全性

請參閱

參考

TeamFoundationHostManagementService 類別

DeleteServiceHost 多載

Microsoft.TeamFoundation.Framework.Server 命名空間