共用方式為


WmiSmoObject.ImplInitialize 方法

Initializes the fields of the WmiSmoObject object.

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

語法

'宣告
Protected Overridable Function ImplInitialize ( _
    fields As String(), _
    orderby As OrderBy() _
) As Boolean
'用途
Dim fields As String()
Dim orderby As OrderBy()
Dim returnValue As Boolean 

returnValue = Me.ImplInitialize(fields, _
    orderby)
protected virtual bool ImplInitialize(
    string[] fields,
    OrderBy[] orderby
)
protected:
virtual bool ImplInitialize(
    array<String^>^ fields, 
    array<OrderBy^>^ orderby
)
abstract ImplInitialize : 
        fields:string[] * 
        orderby:OrderBy[] -> bool  
override ImplInitialize : 
        fields:string[] * 
        orderby:OrderBy[] -> bool
protected function ImplInitialize(
    fields : String[], 
    orderby : OrderBy[]
) : boolean

參數

  • fields
    型別:array<System.String[]
    An array of string values that specify the fields to initialize.

傳回值

型別:System.Boolean
A Boolean value, true if the method succeeds, otherwise false.

範例

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

請參閱

參考

WmiSmoObject 類別

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

其他資源

WMI and SQL Server

連接到 SQL Server Database Engine