ServerConnection.ConnectionType 屬性
取得要在伺服器中使用的連接類型。
命名空間: 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
要使用的連接類型。