ScriptCollectorInfo.IScriptCollectorInfo.CreateScriptCollector 方法

定義

為該腳本建立新的腳本收集器。

 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

參數

scriptType
String

要用什麼樣的文字。

context
IContext

與劇本相關的背景。

傳回

一個代表新腳本收集器的物件。

實作

適用於