InvalidSmoOperationException 构造函数 (String, SqlSmoState)

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub New ( _
    opName As String, _
    state As SqlSmoState _
)
用法
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
)

参数