ServerType 属性

Gets or sets the server connection type.

命名空间:  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
A ConnectionType system object value that specifies the type of connection.