Condividi tramite


Costruttore SfcInvalidConnectionContextModeChangeException (String, String)

Initializes a new instance of the SfcInvalidConnectionContextModeChangeException class with the specified connection context modes. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    fromMode As String, _
    toMode As String _
)
'Utilizzo
Dim fromMode As String
Dim toMode As String

Dim instance As New SfcInvalidConnectionContextModeChangeException(fromMode, _
    toMode)
public SfcInvalidConnectionContextModeChangeException(
    string fromMode,
    string toMode
)
public:
SfcInvalidConnectionContextModeChangeException(
    String^ fromMode, 
    String^ toMode
)
new : 
        fromMode:string * 
        toMode:string -> SfcInvalidConnectionContextModeChangeException
public function SfcInvalidConnectionContextModeChangeException(
    fromMode : String, 
    toMode : String
)

Parametri