Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
The SmoExceptionType enumeration contains values that are used to specify the type of SQL Server Management Objects (SMO) exception.
Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntaxe
'Déclaration
Public Enumeration SmoExceptionType
public enum SmoExceptionType
public enum class SmoExceptionType
public enum SmoExceptionType
public enum SmoExceptionType
Members
| Member name | Description |
|---|---|
| CollectionNotAvailableException | Specifies the exception raised when a collection is not available. |
| FailedOperationException | Specifies the exception raised when an operation fails. |
| InternalSmoErrorException | Specifies the exception raised when an internal SQL Server Management Objects (SMO) error occurs. |
| InvalidSmoOperationException | Specifies the exception raised when a SQL Server Management Objects (SMO) operation that is not valid is called. |
| InvalidVersionSmoOperationException | Specifies the exception raised when an invalid version of a SQL Server Management Objects (SMO) operation is called. |
| MissingObjectException | Specifies the exception raised when an object is missing. |
| PropertyCannotBeRetrievedException | Specifies the exception raised when a property cannot be retrieved. |
| PropertyNotSetException | Specifies the exception raised when a property is not set and is required to be set. |
| PropertyReadOnlyException | Specifies the exception raised when an attempt to modify a read-only property occurs. |
| PropertyTypeMismatchException | Specifies the exception raised when an attempt to update a property with an incorrect data type occurs. |
| PropertyWriteException | Specifies the exception raised when an error occurs during the update of a property. |
| ServiceRequestException | Specifies the exception raised when an error occurs during a service request. |
| SmoException | Specifies the exception raised when a SQL Server Management Objects (SMO) exception occurs. |
| UnknownPropertyException | Specifies the exception raised when an unknown property is requested. |
| UnsupportedFeatureException | Specifies the exception raised when a feature is not supported. |
| UnsupportedObjectNameException | Specifies the exception raised when an object name is not supported. |
| UnsupportedVersionException | Specifies the exception raised when a unsupported version is encountered. |
| WrongPropertyValueException | Specifies the exception raised when an attempt to modify a property with an incorrect value occurs. |
Notes
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.
Exemple
How to: Catch an Exception in Visual Basic .NET
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
Microsoft.SqlServer.Management.Smo Namespace