Export (0) Print
Expand All
Expand Minimize

SmoExceptionType Enumeration

The SmoExceptionType enumeration contains values that are used to specify the type of SMO exception.

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

public enum SmoExceptionType

Member nameDescription
CollectionNotAvailableExceptionSpecifies the exception that is raised when a collection is not available.
FailedOperationExceptionSpecifies the exception that is raised when an operation fails.
InternalSmoErrorExceptionSpecifies the exception that is raised when an internal SMO error occurs.
InvalidScriptingOptionExceptionSpecifies the exception that is raised when an invalid scripting option has been specified.
InvalidSmoOperationExceptionSpecifies the exception that is raised when an SMO operation that is not valid is called.
InvalidVersionSmoOperationExceptionSpecifies the exception that is raised when an invalid version of an SMO operation is called.
MissingObjectExceptionSpecifies the exception that is raised when an object is missing.
PropertyCannotBeRetrievedExceptionSpecifies the exception that is raised when a property cannot be retrieved.
PropertyNotSetExceptionSpecifies the exception that is raised when a property is not set and is required to be set.
PropertyReadOnlyExceptionSpecifies the exception that is raised when an attempt to modify a read-only property occurs.
PropertyTypeMismatchExceptionSpecifies the exception that is raised when an attempt to update a property with an incorrect data type occurs.
PropertyWriteExceptionSpecifies the exception that is raised when an error occurs during the update of a property.
ScriptWriterExceptionSpecifies an exception that is raised when writing a script.
ServiceRequestExceptionSpecifies the exception that is raised when an error occurs during a service request.
SfcDependencyExceptionSpecifies the exception that is raised when the Sfc namespace is not accessible.
SmoExceptionSpecifies the exception that is raised when an SMO exception occurs.
UnknownPropertyExceptionSpecifies the exception that is raised when an unknown property is requested.
UnsupportedEngineTypeExceptionSpecifies the exception that is raised when an operation is attempted that is not supported on the current engine type. The engine type is either SQL Azure or an instance of the SQL Server Database Engine.
UnsupportedFeatureExceptionSpecifies the exception that is raised when a feature is not supported.
UnsupportedObjectNameExceptionSpecifies the exception that is raised when an object name is not supported.
UnsupportedVersionExceptionSpecifies the exception that is raised when an unsupported version is encountered.
WrongPropertyValueExceptionSpecifies the exception that is raised when an attempt to modify a property with an incorrect value occurs.

The SmoExceptionType enumeration class is served by the SmoExceptionType property of SMO exceptions.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft