Udostępnij przez


InvalidSmoOperationException Constructor (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 (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
Public Sub New ( _
    opName As String, _
    state As SqlSmoState _
)
public InvalidSmoOperationException (
    string opName,
    SqlSmoState state
)
public:
InvalidSmoOperationException (
    String^ opName, 
    SqlSmoState state
)
public InvalidSmoOperationException (
    String opName, 
    SqlSmoState state
)
public function InvalidSmoOperationException (
    opName : String, 
    state : SqlSmoState
)

Parameters

  • opName
    A String value that specifies the name of the SMO operation that is not valid.
  • state
    A SqlSmoState object value that specifies the state of the SMO operation.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.