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)

public InvalidSmoOperationException(
	string opName,
	SqlSmoState state
)

Parameters

opName
Type: System.String

A String value that specifies the name of the SMO operation that is not valid.

state
Type: Microsoft.SqlServer.Management.Smo.SqlSmoState

A SqlSmoState object value that specifies the state of the SMO operation.

Return to top
Show: