Compartir a través de


InvalidSmoOperationException Constructor (String, SqlSmoState)

Initializes a new instance of the InvalidSmoOperationException class with the specified message and SMO state.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    opName As String, _
    state As SqlSmoState _
)
'Uso
Dim opName As String
Dim state As SqlSmoState

Dim instance As New InvalidSmoOperationException(opName, _
    state)
public InvalidSmoOperationException(
    string opName,
    SqlSmoState state
)
public:
InvalidSmoOperationException(
    String^ opName, 
    SqlSmoState state
)
new : 
        opName:string * 
        state:SqlSmoState -> InvalidSmoOperationException
public function InvalidSmoOperationException(
    opName : String, 
    state : SqlSmoState
)

Parámetros