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 数据库引擎