SmoExceptionType 枚举

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Enumeration SmoExceptionType
用法
Dim instance As SmoExceptionType
public enum SmoExceptionType
public enum class SmoExceptionType
type SmoExceptionType
public enum SmoExceptionType

成员

成员名称 说明
SmoException Specifies the exception that is raised when an SMO exception occurs.
MissingObjectException Specifies the exception that is raised when an object is missing.
PropertyNotSetException Specifies the exception that is raised when a property is not set and is required to be set.
WrongPropertyValueException Specifies the exception that is raised when an attempt to modify a property with an incorrect value occurs.
PropertyTypeMismatchException Specifies the exception that is raised when an attempt to update a property with an incorrect data type occurs.
UnknownPropertyException Specifies the exception that is raised when an unknown property is requested.
PropertyReadOnlyException Specifies the exception that is raised when an attempt to modify a read-only property occurs.
InvalidSmoOperationException Specifies the exception that is raised when an SMO operation that is not valid is called.
InvalidVersionSmoOperationException Specifies the exception that is raised when an invalid version of an SMO operation is called.
CollectionNotAvailableException Specifies the exception that is raised when a collection is not available.
PropertyCannotBeRetrievedException Specifies the exception that is raised when a property cannot be retrieved.
InternalSmoErrorException Specifies the exception that is raised when an internal SMO error occurs.
FailedOperationException Specifies the exception that is raised when an operation fails.
UnsupportedObjectNameException Specifies the exception that is raised when an object name is not supported.
ServiceRequestException Specifies the exception that is raised when an error occurs during a service request.
UnsupportedVersionException Specifies the exception that is raised when a unsupported version is encountered.
PropertyWriteException Specifies the exception that is raised when an error occurs during the update of a property.
UnsupportedFeatureException Specifies the exception that is raised when a feature is not supported.

注释

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