Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ScriptingOptions Methods

ScriptingOptions Methods

The ScriptingOptions type exposes the following members.

  Name Description
Public method Add(ScriptOption) Adds a ScriptOption object to the ScriptingOptions object.
Public method Static member Add(ScriptingOptions, ScriptOption) Adds the specified ScriptOption and ScriptingOptions objects to the ScriptingOptions.
Public method Static member ConvertVersion Converts the server version to a SqlServerVersion value.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Remove Removes a ScriptOption object from the ScriptingOptions object.
Public method SetTargetDatabaseEngineType Sets the database engine type as specified in a DatabaseEngineType object.
Public method SetTargetServerVersion Sets the version of the instance of SQL Server on which the scripting operation is run.
Public method Static member Subtract Subtracts the specified ScriptOption value from the specified ScriptingOptions object.
Public method ToString Returns a string that represents the ScriptingOptions object. (Overrides Object.ToString.)

Community Additions

© 2015 Microsoft