Service.ErrorControl 屬性

定義

如果 SQL Server 服務在啟動期間無法啟動,則取得錯誤的嚴重性。

public:
 property Microsoft::SqlServer::Management::Smo::Wmi::ServiceErrorControl ErrorControl { Microsoft::SqlServer::Management::Smo::Wmi::ServiceErrorControl get(); };
public Microsoft.SqlServer.Management.Smo.Wmi.ServiceErrorControl ErrorControl { get; }
member this.ErrorControl : Microsoft.SqlServer.Management.Smo.Wmi.ServiceErrorControl
Public ReadOnly Property ErrorControl As ServiceErrorControl

屬性值

Microsoft.SqlServer.Management.Smo.Wmi.ServiceErrorControl

Microsoft.SqlServer.Management.Smo.Wmi.ServiceErrorControl物件值,指定服務在 Microsoft SQL Server 啟動期間無法啟動時的錯誤嚴重性。

範例

使用 WMI 提供者管理服務和網路設定

適用於