ConnectionInfoBase.ServerType 属性
获取或设置服务器连接类型。
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Public ReadOnly Property ServerType As ConnectionType
Get
用法
Dim instance As ConnectionInfoBase
Dim value As ConnectionType
value = instance.ServerType
public ConnectionType ServerType { get; }
public:
property ConnectionType ServerType {
ConnectionType get ();
}
member ServerType : ConnectionType
function get ServerType () : ConnectionType
属性值
类型:Microsoft.SqlServer.Management.Common.ConnectionType
一个 ConnectionType 系统对象值,该值指定连接的类型。