IScriptCollectorInfo.CreateScriptCollector(String, IContext) Method

Definition

Creates an instance of the Script Collector.

public:
 System::Object ^ CreateScriptCollector(System::String ^ scriptType, Microsoft::SqlServer::Management::Data::IContext ^ context);
public object CreateScriptCollector (string scriptType, Microsoft.SqlServer.Management.Data.IContext context);
abstract member CreateScriptCollector : string * Microsoft.SqlServer.Management.Data.IContext -> obj
Public Function CreateScriptCollector (scriptType As String, context As IContext) As Object

Parameters

scriptType
String

A String string that represents the type of script to be used.

context
IContext

An IContext interface that displays the context of the script.

Returns

The object that creates an instance of the Script Collector.

Applies to