ScriptMaker.Script Method

Definition

Overloads

Script(Urn[])

Script out object script to StringCollection

Script(SqlSmoObject[])

Script out object script to Stringcollection

Script(UrnCollection)

Script out object script to StringCollection

Script(Urn[], ISmoScriptWriter)

Script out the object script to writer

Script(Urn[])

Script out object script to StringCollection

public System.Collections.Specialized.StringCollection Script (Microsoft.SqlServer.Management.Sdk.Sfc.Urn[] urns);
member this.Script : Microsoft.SqlServer.Management.Sdk.Sfc.Urn[] -> System.Collections.Specialized.StringCollection
Public Function Script (urns As Urn()) As StringCollection

Parameters

urns
Urn[]

Objects' urns

Returns

Applies to

Script(SqlSmoObject[])

Script out object script to Stringcollection

public System.Collections.Specialized.StringCollection Script (Microsoft.SqlServer.Management.Smo.SqlSmoObject[] objects);
member this.Script : Microsoft.SqlServer.Management.Smo.SqlSmoObject[] -> System.Collections.Specialized.StringCollection
Public Function Script (objects As SqlSmoObject()) As StringCollection

Parameters

objects
SqlSmoObject[]

Objects to script

Returns

Applies to

Script(UrnCollection)

Script out object script to StringCollection

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

Parameters

list
UrnCollection

UrnCollection wiht objects' urns

Returns

Applies to

Script(Urn[], ISmoScriptWriter)

Script out the object script to writer

public void Script (Microsoft.SqlServer.Management.Sdk.Sfc.Urn[] urns, Microsoft.SqlServer.Management.Smo.ISmoScriptWriter writer);
member this.Script : Microsoft.SqlServer.Management.Sdk.Sfc.Urn[] * Microsoft.SqlServer.Management.Smo.ISmoScriptWriter -> unit
Public Sub Script (urns As Urn(), writer As ISmoScriptWriter)

Parameters

urns
Urn[]

Objects' urns

writer
Microsoft.SqlServer.Management.Smo.ISmoScriptWriter

Writer

Applies to