Export (0) Print
Expand All

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: 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft