ConnectionSettings 属性
获取所引用 WMI 安装的连接设置。
命名空间: Microsoft.SqlServer.Management.Smo.Wmi
程序集: Microsoft.SqlServer.SqlWmiManagement(在 Microsoft.SqlServer.SqlWmiManagement.dll 中)
语法
声明
Public ReadOnly Property ConnectionSettings As WmiConnectionInfo
Get
用法
Dim instance As ManagedComputer
Dim value As WmiConnectionInfo
value = instance.ConnectionSettings
public WmiConnectionInfo ConnectionSettings { get; }
public:
property WmiConnectionInfo^ ConnectionSettings {
WmiConnectionInfo^ get ();
}
member ConnectionSettings : WmiConnectionInfo
function get ConnectionSettings () : WmiConnectionInfo
属性值
类型:Microsoft.SqlServer.Management.Smo.Wmi. . :: . .WmiConnectionInfo
一个 WmiConnectionInfo 对象,该对象表示在 WMI 安装中定义的所有连接字符串。