Sequence.Script Sequence.Script Sequence.Script Method

Definition

Generates a Transact-SQL script that can be used to re-create the sequence.

Overloads

Script() Script() Script()

Generates a Transact-SQL script that can be used to re-create the sequence.

Script(ScriptingOptions) Script(ScriptingOptions)

Generates a Transact-SQL script that can be used to re-create the sequence.

Script() Script() Script()

Generates a Transact-SQL script that can be used to re-create the sequence.

public:
 virtual System::Collections::Specialized::StringCollection ^ Script();
public System.Collections.Specialized.StringCollection Script ();
Public Function Script () As StringCollection
Returns

A StringCollectionwhich contains a Transact-SQL script that can be used to re-create the sequence.

Implements

Script(ScriptingOptions) Script(ScriptingOptions)

Generates a Transact-SQL script that can be used to re-create the sequence.

public:
 virtual System::Collections::Specialized::StringCollection ^ Script(Microsoft::SqlServer::Management::Smo::ScriptingOptions ^ scriptingOptions);
public System.Collections.Specialized.StringCollection Script (Microsoft.SqlServer.Management.Smo.ScriptingOptions scriptingOptions);
Parameters
scriptingOptions
ScriptingOptions ScriptingOptions ScriptingOptions

A ScriptingOptions object value that is used to specify the script options.

Returns

A StringCollectionwhich contains a Transact-SQL script that can be used to re-create the sequence.

Implements

Applies to