Partilhar via


Construtor SfcInvalidConnectionContextModeChangeException (String, String)

Initializes a new instance of the SfcInvalidConnectionContextModeChangeException class with the specified connection context modes. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

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

Sintaxe

'Declaração
Public Sub New ( _
    fromMode As String, _
    toMode As String _
)
'Uso
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
)

Parâmetros