ScriptWriterException-Klasse
Represents an exception which occurred when trying to write a script.
Vererbungshierarchie
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Smo.SmoException
Microsoft.SqlServer.Management.Smo.ScriptWriterException
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class ScriptWriterException _
Inherits SmoException
'Usage
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
Der ScriptWriterException-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
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. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
Data | (Geerbt von Exception.) | |
HelpLink | Gets the Help link for further information from Microsoft about the SMO exception. (Geerbt von SmoException.) | |
HResult | (Geerbt von Exception.) | |
InnerException | (Geerbt von Exception.) | |
Message | (Geerbt von Exception.) | |
SmoExceptionType | Gets the SmoExceptionType associated with the ScriptWriterException. (Überschreibt SmoException.SmoExceptionType.) | |
Source | (Geerbt von Exception.) | |
StackTrace | (Geerbt von Exception.) | |
TargetSite | (Geerbt von Exception.) |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Equals | (Geerbt von Object.) | |
GetBaseException | (Geerbt von Exception.) | |
GetHashCode | (Geerbt von Object.) | |
GetObjectData | Sicherheitskritisch (Geerbt von Exception.) | |
GetType | (Geerbt von Exception.) | |
SetHelpContext | Sets the Help context value for the referenced exception. (Geerbt von SmoException.) | |
ToString | (Geerbt von Exception.) |
Zum Anfang
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.