获取要用于服务器的连接的类型。
命名空间:  Microsoft.SqlServer.Management.Common
程序集:  Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Public ReadOnly Property ConnectionType As ServerType 
    Get
用法
Dim instance As ServerConnection 
Dim value As ServerType 
value = instance.ConnectionType
public ServerType ConnectionType { get; }
public:
property ServerType ConnectionType {
    ServerType get ();
}
member ConnectionType : ServerType
function get ConnectionType () : ServerType
属性值
类型:Microsoft.SqlServer.Management.Common.ServerType
要使用的连接类型。