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 能顯示腳本上下文的介面。

傳回

建立腳本收集器實例的物件。

適用於