IScriptingService.GetCompatibleCollectors(String) 方法

定義

列舉所有與該內容類型相容的劇本收集器。

public:
 System::Collections::Generic::IEnumerable<Microsoft::SqlServer::Management::Scripting::IScriptCollectorInfo ^> ^ GetCompatibleCollectors(System::String ^ contentType);
public System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Management.Scripting.IScriptCollectorInfo> GetCompatibleCollectors(string contentType);
abstract member GetCompatibleCollectors : string -> seq<Microsoft.SqlServer.Management.Scripting.IScriptCollectorInfo>
Public Function GetCompatibleCollectors (contentType As String) As IEnumerable(Of IScriptCollectorInfo)

參數

contentType
String

一個 String 字串代表腳本中要列出的內容類型。

傳回

可能的劇本收藏者與內容類型相容。

適用於