Aracılığıyla paylaş


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

'Bildirim
<SerializableAttribute> _
Public NotInheritable Class ScriptWriterException _
    Inherits SmoException
'Kullanım
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
Public method ScriptWriterException() Initializes a new instance of the ScriptWriterException class.
Public method ScriptWriterException(String) Initializes a new instance of the ScriptWriterException class, specifying the exception message.
Public method 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
Public property Data (Inherited from Exception.)
Public property HelpLink Gets the Help link for further information from Microsoft about the SMO exception. (Inherited from SmoException.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property SmoExceptionType Gets the SmoExceptionType associated with the ScriptWriterException. (Overrides SmoException.SmoExceptionType.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetHelpContext Sets the Help context value for the referenced exception. (Inherited from SmoException.)
Public method 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.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace