ScriptWriterException Class

Represents an exception which occurred when trying to write a script.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public sealed class ScriptWriterException : SmoException

The ScriptWriterException type exposes the following members.

Public methodScriptWriterException()Initializes a new instance of the ScriptWriterException class.
Public methodScriptWriterException(String)Initializes a new instance of the ScriptWriterException class, specifying the exception message.
Public methodScriptWriterException(String, Exception)Initializes a new instance of the ScriptWriterException class, specifying the exception message, and the exception which caused the exception.

Public propertyData (Inherited from Exception.)
Public propertyHelpLinkGets the Help link for further information from Microsoft about the SMO exception. (Inherited from SmoException.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertySmoExceptionTypeGets the SmoExceptionType associated with the ScriptWriterException. (Overrides SmoException.SmoExceptionType.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)

Public methodEquals (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectDataSecurity Critical. (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodSetHelpContextSets the Help context value for the referenced exception. (Inherited from SmoException.)
Public methodToString (Inherited from Exception.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions