IScriptCollectorInfo.CreateScriptCollector(String, IContext) 方法

定义

创建脚本收集器的实例。

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

参数

scriptType
String

一个表示要使用的脚本类型的 String 字符串。

context
IContext

一个显示脚本上下文的 IContext 接口。

返回

创建脚本收集器实例的对象。

适用于