ScriptCollectorInfo.IScriptCollectorInfo.CreateScriptCollector Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.