语言

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 表示脚本中要列出内容类型的字符串。

返回

可能的脚本收藏者与内容类型兼容。

适用于