ScriptWriterException Class
Represents an exception which occurred when trying to write a script.
Inheritance Hierarchy
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
The ScriptWriterException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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. |
Top
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
HelpLink | Gets the Help link for further information from Microsoft about the SMO exception. (Inherited from SmoException.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
SmoExceptionType | Gets the SmoExceptionType associated with the ScriptWriterException. (Overrides SmoException.SmoExceptionType.) | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Security Critical. (Inherited from Exception.) | |
GetType | (Inherited from Exception.) | |
SetHelpContext | Sets the Help context value for the referenced exception. (Inherited from SmoException.) | |
ToString | (Inherited from Exception.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.