共用方式為


SmoExceptionType Enum

Definition

Enumeration of exception types defined by T:Microsoft.SqlServer.Management.Smo.SmoExceptionType.

public enum SmoExceptionType
type SmoExceptionType = 
Public Enum SmoExceptionType
Inheritance
SmoExceptionType

Fields

Name Value Description
SmoException 0
MissingObjectException 1
PropertyNotSetException 2
WrongPropertyValueException 3
PropertyTypeMismatchException 4
UnknownPropertyException 5
PropertyReadOnlyException 6
InvalidSmoOperationException 7
InvalidVersionSmoOperationException 8
CollectionNotAvailableException 9
PropertyCannotBeRetrievedException 10
InternalSmoErrorException 11
FailedOperationException 12
UnsupportedObjectNameException 13
ServiceRequestException 14
UnsupportedVersionException 15
PropertyWriteException 16
UnsupportedFeatureException 17
SfcDependencyException 18
UnsupportedEngineTypeException 19
InvalidScriptingOptionException 20
ScriptWriterException 21
UnsupportedCompatLevelException 22
UnsupportedEngineEditionException 23

Applies to