Construtor InvalidSmoOperationException (String, SqlSmoState)
Initializes a new instance of the InvalidSmoOperationException class with the specified message and SMO state.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
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
- opName
Tipo: System.String
A String value that specifies the name of the SMO operation that is not valid.
- state
Tipo: Microsoft.SqlServer.Management.Smo.SqlSmoState
A SqlSmoState object value that specifies the state of the SMO operation.
Exemplos
Consulte também
Referência
InvalidSmoOperationException Classe