مشاركة عبر


SfcInvalidConnectionContextModeChangeException Constructor (String, String)

Initializes a new instance of the SfcInvalidConnectionContextModeChangeException class with the specified connection context modes. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Syntax

'Declaration
Public Sub New ( _
    fromMode As String, _
    toMode As String _
)
'Usage
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
)

Parameters

  • fromMode
    Type: System.String
    The original connection context mode.

See Also

Reference

SfcInvalidConnectionContextModeChangeException Class

SfcInvalidConnectionContextModeChangeException Overload

Microsoft.SqlServer.Management.Sdk.Sfc Namespace