共用方式為


WmiSmoObject 建構函式 (String)

Initializes a new instance of the WmiSmoObject class with the specified name.

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

語法

'宣告
Protected Friend Sub New ( _
    name As String _
)
'用途
Dim name As String 

Dim instance As New WmiSmoObject(name)
protected internal WmiSmoObject(
    string name
)
protected public:
WmiSmoObject(
    String^ name
)
new : 
        name:string -> WmiSmoObject
function WmiSmoObject(
    name : String
)

參數

備註

This constructor is called by derived class constructors to initialize the state in this type.

範例

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

請參閱

參考

WmiSmoObject 類別

WmiSmoObject 多載

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

其他資源

WMI and SQL Server

連接到 SQL Server Database Engine