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
SmoExceptionSpecifies the exception that is raised when an SMO exception occurs.
MissingObjectExceptionSpecifies the exception that is raised when an object is missing.
PropertyNotSetExceptionSpecifies the exception that is raised when a property is not set and is required to be set.
WrongPropertyValueExceptionSpecifies the exception that is raised when an attempt to modify a property with an incorrect value occurs.
PropertyTypeMismatchExceptionSpecifies the exception that is raised when an attempt to update a property with an incorrect data type occurs.
UnknownPropertyExceptionSpecifies the exception that is raised when an unknown property is requested.
PropertyReadOnlyExceptionSpecifies the exception that is raised when an attempt to modify a read-only property occurs.
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.
CollectionNotAvailableExceptionSpecifies the exception that is raised when a collection is not available.
PropertyCannotBeRetrievedExceptionSpecifies the exception that is raised when a property cannot be retrieved.
InternalSmoErrorExceptionSpecifies the exception that is raised when an internal SMO error occurs.
FailedOperationExceptionSpecifies the exception that is raised when an operation fails.
UnsupportedObjectNameExceptionSpecifies the exception that is raised when an object name is not supported.
ServiceRequestExceptionSpecifies the exception that is raised when an error occurs during a service request.
UnsupportedVersionExceptionSpecifies the exception that is raised when an unsupported version is encountered.
PropertyWriteExceptionSpecifies the exception that is raised when an error occurs during the update of a property.
UnsupportedFeatureExceptionSpecifies the exception that is raised when a feature is not supported.
SfcDependencyExceptionSpecifies the exception that is raised when the Sfc namespace is not accessible.
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.

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

Community Additions

ADD
Show:
© 2014 Microsoft