Condividi tramite


TargetServerGroup.Script Method

Definition

Overloads

Script()

Generate object creation script using default scripting options

Script(ScriptingOptions)

Script object with specific scripting options

Script()

Generate object creation script using default scripting options

public System.Collections.Specialized.StringCollection Script ();
member this.Script : unit -> System.Collections.Specialized.StringCollection
Public Function Script () As StringCollection

Returns

Applies to

Script(ScriptingOptions)

Script object with specific scripting options

public System.Collections.Specialized.StringCollection Script (Microsoft.SqlServer.Management.Smo.ScriptingOptions scriptingOptions);
member this.Script : Microsoft.SqlServer.Management.Smo.ScriptingOptions -> System.Collections.Specialized.StringCollection
Public Function Script (scriptingOptions As ScriptingOptions) As StringCollection

Parameters

scriptingOptions
ScriptingOptions

Returns

Applies to