Classe ScriptWriterException
Represents an exception which occurred when trying to write a script.
Gerarchia di ereditarietà
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Smo.SmoException
Microsoft.SqlServer.Management.Smo.ScriptWriterException
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
<SerializableAttribute> _
Public NotInheritable Class ScriptWriterException _
Inherits SmoException
'Utilizzo
Dim instance As ScriptWriterException
[SerializableAttribute]
public sealed class ScriptWriterException : SmoException
[SerializableAttribute]
public ref class ScriptWriterException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type ScriptWriterException =
class
inherit SmoException
end
public final class ScriptWriterException extends SmoException
Nel tipo ScriptWriterException sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
ScriptWriterException() | Initializes a new instance of the ScriptWriterException class. | |
ScriptWriterException(String) | Initializes a new instance of the ScriptWriterException class, specifying the exception message. | |
ScriptWriterException(String, Exception) | Initializes a new instance of the ScriptWriterException class, specifying the exception message, and the exception which caused the exception. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
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 | Ereditato da Exception. | |
SmoExceptionType | Gets the SmoExceptionType associated with the ScriptWriterException. Esegue l'override di SmoException.SmoExceptionType. | |
Source | Ereditato da Exception. | |
StackTrace | Ereditato da Exception. | |
TargetSite | Ereditato da Exception. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
Equals | Ereditato da Object. | |
GetBaseException | Ereditato da Exception. | |
GetHashCode | Ereditato da Object. | |
GetObjectData | Criticità per la sicurezza. Ereditato da Exception. | |
GetType | Ereditato da Exception. | |
SetHelpContext | Sets the Help context value for the referenced exception. Ereditato da SmoException. | |
ToString | Ereditato da Exception. |
In alto
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.