Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

InvalidSmoOperationException Constructor

 

Applies To: SQL Server 2016 Preview

Initializes a new instance of the InvalidSmoOperationException class.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

NameDescription
System_CAPS_pubmethodInvalidSmoOperationException()

Initializes a new instance of the InvalidSmoOperationException class.

System_CAPS_pubmethodInvalidSmoOperationException(String)

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

System_CAPS_pubmethodInvalidSmoOperationException(String, Exception)

Initializes a new instance of the InvalidSmoOperationException class with the specified message and inner exception.

System_CAPS_pubmethodInvalidSmoOperationException(String, SqlSmoState)

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

Return to top

InvalidSmoOperationException Constructor ()

Initializes a new instance of the InvalidSmoOperationException class.

public InvalidSmoOperationException()

The default constructor initializes any fields to their default values.

Return to top

InvalidSmoOperationException Constructor (String)

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

public InvalidSmoOperationException(
	string message
)

Parameters

message
Type: System.String

A String value that specifies the message string for the Invalid SMO Operation exception.

Return to top

InvalidSmoOperationException Constructor (String, Exception)

Initializes a new instance of the InvalidSmoOperationException class with the specified message and inner exception.

public InvalidSmoOperationException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

A String value that specifies the message string for the Invalid SMO Operation exception.

innerException
Type: System.Exception

An Exception system object value that specifies the inner exception for the Invalid SMO Operation exception.

Return to top

InvalidSmoOperationException Constructor (String, SqlSmoState)

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

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:
© 2015 Microsoft