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 SmoException class represents the exception that is raised when an error occurs during an SMO operation.
Hiérarchie d'héritage
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Smo.SmoException
Plus...
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
Public Class SmoException _
Inherits SqlServerManagementException
'Utilisation
Dim instance As SmoException
[SerializableAttribute]
public class SmoException : SqlServerManagementException
[SerializableAttribute]
public ref class SmoException : public SqlServerManagementException
[<SerializableAttribute>]
type SmoException =
class
inherit SqlServerManagementException
end
public class SmoException extends SqlServerManagementException
Le type SmoException expose les membres suivants.
Constructeurs
| Nom | Description | |
|---|---|---|
![]() |
SmoException() | Initializes a new instance of the SmoException class. |
![]() |
SmoException(String) | Initializes a new instance of the SmoException class with the specified message. |
![]() |
SmoException(SerializationInfo, StreamingContext) | Initializes a new instance of the SmoException class with the specified serialization information and streaming context. |
![]() |
SmoException(String, Exception) | Initializes a new instance of the SmoException class with the specified message and specified inner exception. |
Haut de la page
Propriétés
| Nom | Description | |
|---|---|---|
![]() |
Data | (hérité de Exception.) |
![]() |
HelpLink | Gets the Help link for further information from Microsoft about the SMO exception. (remplace Exception.HelpLink.) |
![]() |
HResult | (hérité de Exception.) |
![]() |
InnerException | (hérité de Exception.) |
![]() |
Message | (hérité de Exception.) |
![]() ![]() |
ProdVer | Gets the product version of the instance of SQL Server that generated the SMO exception. |
![]() |
SmoExceptionType | Gets the type of SMO exception. |
![]() |
Source | (hérité de Exception.) |
![]() |
StackTrace | (hérité de Exception.) |
![]() |
TargetSite | (hérité de Exception.) |
Haut de la page
Méthodes
| Nom | Description | |
|---|---|---|
![]() |
Equals | (hérité de Object.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetBaseException | (hérité de Exception.) |
![]() |
GetHashCode | (hérité de Object.) |
![]() |
GetObjectData | Informations critiques de sécurité. (hérité de Exception.) |
![]() |
GetType | (hérité de Exception.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
SetHelpContext | Sets the Help context value for the referenced exception. |
![]() |
ToString | (hérité de Exception.) |
Haut de la page
Événements
| Nom | Description | |
|---|---|---|
![]() |
SerializeObjectState | (hérité de Exception.) |
Haut de la page
Notes
Thread Safety
Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Exemples
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo
Hiérarchie d'héritage
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Smo.SmoException
Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException
Microsoft.SqlServer.Management.Smo.FailedOperationException
Microsoft.SqlServer.Management.Smo.InternalSmoErrorException
Microsoft.SqlServer.Management.Smo.InvalidRestorePlanException
Microsoft.SqlServer.Management.Smo.InvalidScriptingOptionException
Microsoft.SqlServer.Management.Smo.InvalidSmoOperationException
Microsoft.SqlServer.Management.Smo.InvalidVersionSmoOperationException
Microsoft.SqlServer.Management.Smo.MissingObjectException
Microsoft.SqlServer.Management.Smo.PropertyCannotBeRetrievedException
Microsoft.SqlServer.Management.Smo.PropertyNotSetException
Microsoft.SqlServer.Management.Smo.PropertyReadOnlyException
Microsoft.SqlServer.Management.Smo.PropertyTypeMismatchException
Microsoft.SqlServer.Management.Smo.PropertyWriteException
Microsoft.SqlServer.Management.Smo.ScriptWriterException
Microsoft.SqlServer.Management.Smo.ServiceRequestException
Microsoft.SqlServer.Management.Smo.SfcDependencyException
Microsoft.SqlServer.Management.Smo.UnknownPropertyException
Microsoft.SqlServer.Management.Smo.UnsupportedEngineTypeException
Microsoft.SqlServer.Management.Smo.UnsupportedFeatureException
Microsoft.SqlServer.Management.Smo.UnsupportedObjectNameException
Microsoft.SqlServer.Management.Smo.UnsupportedVersionException
Microsoft.SqlServer.Management.Smo.WrongPropertyValueException
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)