ManagedComputer 构造函数 (String)

Initializes a new instance of the ManagedComputer class with the specified computer name.

命名空间:  Microsoft.SqlServer.Management.Smo.Wmi
程序集:  Microsoft.SqlServer.SqlWmiManagement(在 Microsoft.SqlServer.SqlWmiManagement.dll 中)

语法

声明
Public Sub New ( _
    machineName As String _
)
用法
Dim machineName As String 

Dim instance As New ManagedComputer(machineName)
public ManagedComputer(
    string machineName
)
public:
ManagedComputer(
    String^ machineName
)
new : 
        machineName:string -> ManagedComputer
public function ManagedComputer(
    machineName : String
)

参数

示例

使用 WMI 提供程序管理服务和网络设置

请参阅

参考

ManagedComputer 类

ManagedComputer 重载

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

其他资源

连接到 SQL Server 数据库引擎