مشاركة عبر


InvalidScriptingOptionException Class

The InvalidScriptingOptionException represents an exception due to an invalid scripting option.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Smo.SmoException
        Microsoft.SqlServer.Management.Smo.InvalidScriptingOptionException

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

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class InvalidScriptingOptionException _
    Inherits SmoException
'Usage
Dim instance As InvalidScriptingOptionException
[SerializableAttribute]
public sealed class InvalidScriptingOptionException : SmoException
[SerializableAttribute]
public ref class InvalidScriptingOptionException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type InvalidScriptingOptionException =  
    class 
        inherit SmoException 
    end
public final class InvalidScriptingOptionException extends SmoException

The InvalidScriptingOptionException type exposes the following members.

Constructors

  Name Description
Public method InvalidScriptingOptionException() Initializes a new instance of InvalidScriptingOptionException.
Public method InvalidScriptingOptionException(String) Initializes a new instance of InvalidScriptingOptionException, specifying the message to associate with this instance.
Public method InvalidScriptingOptionException(String, Exception) Initializes a new instance of InvalidScriptingOptionException, specifying the message to associate with this instance as well as the exception which caused this InvalidScriptingOptionException.

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.)
Public 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 this exception. (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.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Security Critical. (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
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