Classe UnknownPropertyException
The UnknownPropertyException class represents the exception that is raised when an SMO operation encounters an unknown property.
Gerarchia di ereditarietà
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Smo.SmoException
Microsoft.SqlServer.Management.Smo.UnknownPropertyException
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
<SerializableAttribute> _
Public NotInheritable Class UnknownPropertyException _
Inherits SmoException
'Utilizzo
Dim instance As UnknownPropertyException
[SerializableAttribute]
public sealed class UnknownPropertyException : SmoException
[SerializableAttribute]
public ref class UnknownPropertyException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type UnknownPropertyException =
class
inherit SmoException
end
public final class UnknownPropertyException extends SmoException
Nel tipo UnknownPropertyException sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
![]() |
UnknownPropertyException() | Initializes a new instance of the UnknownPropertyException class. |
![]() |
UnknownPropertyException(String) | Initializes a new instance of the UnknownPropertyException class for the specified property. |
![]() |
UnknownPropertyException(String, Exception) | Initializes a new instance of the UnknownPropertyException class with the specified message and inner exception. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
![]() |
CurrentVersion | Gets the version of the instance of SQL Server. |
![]() |
Data | Ereditato da Exception. |
![]() |
HelpLink | Gets the Help link for further information from Microsoft about the SMO exception. Ereditato da SmoException. |
![]() |
HResult | Ereditato da Exception. |
![]() |
InnerException | Ereditato da Exception. |
![]() |
Message | Gets the message that describes the current exception. Esegue l'override di Exception.Message. |
![]() |
PropertyName | Gets the name of the property that is unknown. |
![]() |
SmoExceptionType | Gets the type of SMO exception. Esegue l'override di SmoException.SmoExceptionType. |
![]() |
Source | Ereditato da Exception. |
![]() |
StackTrace | Ereditato da Exception. |
![]() |
SupportedVersions | Gets the supported versions for the exception. |
![]() |
TargetSite | Ereditato da Exception. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
Equals | Ereditato da Object. |
![]() |
GetBaseException | Ereditato da Exception. |
![]() |
GetHashCode | Ereditato da Object. |
![]() |
GetObjectData | Sets the SerializationInfo with information about the exception. Esegue l'override di Exception.GetObjectData(SerializationInfo, StreamingContext). |
![]() |
GetType | Ereditato da Exception. |
![]() |
SetHelpContext | Sets the Help context value for the referenced exception. Ereditato da SmoException. |
![]() |
ToString | Ereditato da Exception. |
In alto
Osservazioni
Thread Safety
Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.
Esempi
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.