ScriptCollectorInfo.IScriptCollectorInfo.CreateScriptCollector 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为脚本创建新的脚本收集器。
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
与脚本关联的上下文。
返回
一个表示新脚本收集器的对象。