Partilhar via


ScriptingOptions Constructor (ScriptOption)

Initializes a new instance of the ScriptingOptions class based on the specified ScriptOption object based on the specified script option.

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

Syntax

'Declaration
Public Sub New ( _
    so As ScriptOption _
)
public ScriptingOptions (
    ScriptOption so
)
public:
ScriptingOptions (
    ScriptOption^ so
)
public ScriptingOptions (
    ScriptOption so
)
public function ScriptingOptions (
    so : ScriptOption
)

Parameters

  • so
    A ScriptOption object value that specifies the script options.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ScriptingOptions Class
ScriptingOptions Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

How to: Script Out the Dependencies for a Database in Visual Basic .NET
Scripting