We recommend using Visual Studio 2017

InvalidScriptingOptionException Class

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

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

public sealed class InvalidScriptingOptionException : SmoException

The InvalidScriptingOptionException type exposes the following members.

Public methodInvalidScriptingOptionException()Initializes a new instance of InvalidScriptingOptionException.
Public methodInvalidScriptingOptionException(String)Initializes a new instance of InvalidScriptingOptionException, specifying the message to associate with this instance.
Public methodInvalidScriptingOptionException(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.

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 this exception. (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.