Table.EnumScript Method (ScriptingOptions)


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

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

public IEnumerable<string> EnumScript(
	ScriptingOptions scriptingOptions

Return Value

Type: System.Collections.Generic.IEnumerable<String>

T:System.Collections.Generic.IEnumerable<T> Interface.

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

Return to top