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 WrongPropertyValueException class represents the exception that is raised when a property is assigned the wrong value.
Hiérarchie d'héritage
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Smo.SmoException
Microsoft.SqlServer.Management.Smo.WrongPropertyValueException
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
Public NotInheritable Class WrongPropertyValueException _
Inherits SmoException
'Utilisation
Dim instance As WrongPropertyValueException
[SerializableAttribute]
public sealed class WrongPropertyValueException : SmoException
[SerializableAttribute]
public ref class WrongPropertyValueException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type WrongPropertyValueException =
class
inherit SmoException
end
public final class WrongPropertyValueException extends SmoException
Le type WrongPropertyValueException expose les membres suivants.
Constructeurs
| Nom | Description | |
|---|---|---|
![]() |
WrongPropertyValueException() | Initializes a new instance of the WrongPropertyValueException class. |
![]() |
WrongPropertyValueException(String) | Initializes a new instance of the WrongPropertyValueException class with the specified message. |
![]() |
WrongPropertyValueException(Property) | Initializes a new instance of the WrongPropertyValueException class for the specified property. |
![]() |
WrongPropertyValueException(String, Exception) | Initializes a new instance of the WrongPropertyValueException 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. (hérité de SmoException.) |
![]() |
HResult | (hérité de Exception.) |
![]() |
InnerException | (hérité de Exception.) |
![]() |
Message | Gets the message that is associated with the wrong property value exception. (remplace Exception.Message.) |
![]() |
Property | Gets the property that was assigned the wrong property value that caused the wrong property value exception to be raised. |
![]() |
SmoExceptionType | Gets the type of SMO exception for the wrong property value exception. (remplace SmoException.SmoExceptionType.) |
![]() |
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.) |
![]() |
GetBaseException | (hérité de Exception.) |
![]() |
GetHashCode | (hérité de Object.) |
![]() |
GetObjectData | Gets object data regarding the WrongPropertyValue Exception. (remplace Exception.GetObjectData(SerializationInfo, StreamingContext).) |
![]() |
GetType | (hérité de Exception.) |
![]() |
SetHelpContext | Sets the Help context value for the referenced exception. (hérité de SmoException.) |
![]() |
ToString | (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.
.gif)
.gif)
.gif)