Share via


SfcConnection.ConnectionType Property

Gets the SQL Server service type of the connection.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property ConnectionType As ServerType
    Get
'Usage
Dim instance As SfcConnection
Dim value As ServerType

value = instance.ConnectionType
public abstract ServerType ConnectionType { get; }
public:
virtual property ServerType ConnectionType {
    ServerType get () abstract;
}
abstract ConnectionType : ServerType
abstract function get ConnectionType () : ServerType

Property Value

Type: Microsoft.SqlServer.Management.Common.ServerType
A ServerType value that specifies the SQL Server service type.