Table.EnumScript Table.EnumScript Table.EnumScript Method

Definition

Returns an enumerable object.

Overloads

EnumScript() EnumScript() EnumScript()

Returns an IEnumerable<T> object that has the script for the passed objects

EnumScript(ScriptingOptions) EnumScript(ScriptingOptions)

Returns an IEnumerable&lt;string&gt; object that has the script for the passed objects.

EnumScript() EnumScript() EnumScript()

Returns an IEnumerable<T> object that has the script for the passed objects

public:
 System::Collections::Generic::IEnumerable<System::String ^> ^ EnumScript();
public System.Collections.Generic.IEnumerable<string> EnumScript ();
Public Function EnumScript () As IEnumerable(Of String)
Returns

Remarks

The interface that is returned contains the script for the schema only.

EnumScript(ScriptingOptions) EnumScript(ScriptingOptions)

Returns an IEnumerable&lt;string&gt; object that has the script for the passed objects.

public:
 System::Collections::Generic::IEnumerable<System::String ^> ^ EnumScript(Microsoft::SqlServer::Management::Smo::ScriptingOptions ^ scriptingOptions);
public System.Collections.Generic.IEnumerable<string> EnumScript (Microsoft.SqlServer.Management.Smo.ScriptingOptions scriptingOptions);
Parameters
Returns

Remarks

The scriptingOptions parameter is used to determine whether the schema and the data are included in the script.

Applies to