Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SmoExceptionType Enumeration

The SmoExceptionType enumeration contains values that are used to specify the type of SQL Server Management Objects (SMO) exception.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
public enum SmoExceptionType
public enum SmoExceptionType
public enum SmoExceptionType
Member nameDescription
CollectionNotAvailableExceptionSpecifies the exception raised when a collection is not available.
FailedOperationExceptionSpecifies the exception raised when an operation fails.
InternalSmoErrorExceptionSpecifies the exception raised when an internal SQL Server Management Objects (SMO) error occurs.
InvalidSmoOperationExceptionSpecifies the exception raised when a SQL Server Management Objects (SMO) operation that is not valid is called.
InvalidVersionSmoOperationExceptionSpecifies the exception raised when an invalid version of a SQL Server Management Objects (SMO) operation is called.
MissingObjectExceptionSpecifies the exception raised when an object is missing.
PropertyCannotBeRetrievedExceptionSpecifies the exception raised when a property cannot be retrieved.
PropertyNotSetExceptionSpecifies the exception raised when a property is not set and is required to be set.
PropertyReadOnlyExceptionSpecifies the exception raised when an attempt to modify a read-only property occurs.
PropertyTypeMismatchExceptionSpecifies the exception raised when an attempt to update a property with an incorrect data type occurs.
PropertyWriteExceptionSpecifies the exception raised when an error occurs during the update of a property.
ServiceRequestExceptionSpecifies the exception raised when an error occurs during a service request.
SmoExceptionSpecifies the exception raised when a SQL Server Management Objects (SMO) exception occurs.
UnknownPropertyExceptionSpecifies the exception raised when an unknown property is requested.
UnsupportedFeatureExceptionSpecifies the exception raised when a feature is not supported.
UnsupportedObjectNameExceptionSpecifies the exception raised when an object name is not supported.
UnsupportedVersionExceptionSpecifies the exception raised when a unsupported version is encountered.
WrongPropertyValueExceptionSpecifies the exception 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.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.


Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.