共用方式為


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.