共用方式為


WmiSmoObject.IsObjectInitialized 方法

Specifies whether the referenced object is initialized.

命名空間:  Microsoft.SqlServer.Management.Smo.Wmi
組件:  Microsoft.SqlServer.SqlWmiManagement (在 Microsoft.SqlServer.SqlWmiManagement.dll 中)

語法

'宣告
Protected Friend Function IsObjectInitialized As Boolean
'用途
Dim returnValue As Boolean 

returnValue = Me.IsObjectInitialized()
protected internal bool IsObjectInitialized()
protected public:
bool IsObjectInitialized()
member IsObjectInitialized : unit -> bool
function IsObjectInitialized() : boolean

傳回值

型別:System.Boolean
A Boolean value that specifies whether the referenced object is initialized.If True, the object is initialized.If False, the object is not initialized.

範例

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

請參閱

參考

WmiSmoObject 類別

Microsoft.SqlServer.Management.Smo.Wmi 命名空間

其他資源

WMI and SQL Server

連接到 SQL Server Database Engine