Federation.Script Method

Definition

Generates a Transact-SQL script that can be used to re-create the federation.

Overloads

Script()

Generates a Transact-SQL script that can be used to re-create the federation.

Script(ScriptingOptions)

Generates a Transact-SQL script that can be used to re-create the federation with specified options.

Script()

Generates a Transact-SQL script that can be used to re-create the federation.

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

Returns

A collection of strings that represents the Transact-SQL that can be used to re-create the federation.

Implements

Applies to

Script(ScriptingOptions)

Generates a Transact-SQL script that can be used to re-create the federation with specified options.

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

Parameters

scriptingOptions
ScriptingOptions

The script options.

Returns

A collection of strings that represents the Transact-SQL that can be used to re-create the federation.

Implements

Applies to