共用方式為


SqlSmoObject.ScriptImpl Method

Definition

Overloads

ScriptImpl()
ScriptImpl(ScriptingOptions)

Returns a StringCollection object with the script for the object. This method throws an error if ScriptData is true

ScriptImpl()

protected System.Collections.Specialized.StringCollection ScriptImpl ();
member this.ScriptImpl : unit -> System.Collections.Specialized.StringCollection
Protected Function ScriptImpl () As StringCollection

Returns

Applies to

ScriptImpl(ScriptingOptions)

Returns a StringCollection object with the script for the object. This method throws an error if ScriptData is true

protected System.Collections.Specialized.StringCollection ScriptImpl (Microsoft.SqlServer.Management.Smo.ScriptingOptions so);
member this.ScriptImpl : Microsoft.SqlServer.Management.Smo.ScriptingOptions -> System.Collections.Specialized.StringCollection
Protected Function ScriptImpl (so As ScriptingOptions) As StringCollection

Parameters

Returns

StringCollection object with the script for the object

Exceptions

If Options.ScriptData is true

Applies to