共用方式為


GetManagementObject 方法

Returns the object that manages the referenced protocol object.

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

語法

'宣告
Protected MustOverride Function GetManagementObject As ManagementObject
'用途
Dim returnValue As ManagementObject

returnValue = Me.GetManagementObject()
protected abstract ManagementObject GetManagementObject()
protected:
virtual ManagementObject^ GetManagementObject() abstract
abstract GetManagementObject : unit -> ManagementObject 
protected abstract function GetManagementObject() : ManagementObject

傳回值

型別:System.Management. . :: . .ManagementObject
A ManagementObject system object value that specifies the management object.