ResourcePool.Script ResourcePool.Script ResourcePool.Script Method

Definition

Creates a Transact-SQL statement to be run as a script.

Overloads

Script() Script() Script()

Creates a Transact-SQL statement to be run as a script.

Script(ScriptingOptions) Script(ScriptingOptions)

Generates a Transact-SQL script that can be used to re-create the Resource Pool by using the specified options.

Script() Script() Script()

Creates a Transact-SQL statement to be run as a script.

public:
 virtual System::Collections::Specialized::StringCollection ^ Script();
public System.Collections.Specialized.StringCollection Script ();
Public Function Script () As StringCollection
Returns

A Transact-SQL statement to be run as a script.

Implements

Script(ScriptingOptions) Script(ScriptingOptions)

Generates a Transact-SQL script that can be used to re-create the Resource Pool by using the 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);
Parameters
scriptingOptions
ScriptingOptions ScriptingOptions ScriptingOptions

The scripting options.

Returns
Implements

Applies to