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 系統物件值。