ConnectionType 屬性

Gets the type of connection to use in the server.

命名空間:  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
The type of connection to use.