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