ScriptCollectorInfo.IScriptCollectorInfo.CreateScriptCollector Method

Definition

Creates a new script collector for the script.

 virtual System::Object ^ Microsoft.SqlServer.Management.Scripting.IScriptCollectorInfo.CreateScriptCollector(System::String ^ scriptType, Microsoft::SqlServer::Management::Data::IContext ^ context) = Microsoft::SqlServer::Management::Scripting::IScriptCollectorInfo::CreateScriptCollector;
object IScriptCollectorInfo.CreateScriptCollector (string scriptType, Microsoft.SqlServer.Management.Data.IContext context);
abstract member Microsoft.SqlServer.Management.Scripting.IScriptCollectorInfo.CreateScriptCollector : string * Microsoft.SqlServer.Management.Data.IContext -> obj
override this.Microsoft.SqlServer.Management.Scripting.IScriptCollectorInfo.CreateScriptCollector : string * Microsoft.SqlServer.Management.Data.IContext -> obj
Function CreateScriptCollector (scriptType As String, context As IContext) As Object Implements IScriptCollectorInfo.CreateScriptCollector

Parameters

scriptType
String

The type of script to be used.

context
IContext

The context associated with the script.

Returns

An object representing the new script collector.

Implements

Applies to