ContentSource 构造函数 (Microsoft.Office.Server.Search.Administration)

该成员仅供内部使用,不应在代码中直接使用。 Initializes a new instance of the ContentSource class. Do not use this method to create a content source, instead use the Create method of the ContentSourceCollection class.

命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)

语法

声明
Protected Friend Sub New ( _
    parent As ContentSourceCollection, _
    name As String _
)
用法
Dim parent As ContentSourceCollection
Dim name As String

Dim instance As New ContentSource(parent, name)
protected internal ContentSource (
    ContentSourceCollection parent,
    string name
)

参数

  • parent
    该成员仅供内部使用,不应在代码中直接使用。
  • name
    该成员仅供内部使用,不应在代码中直接使用。

备注

该成员仅供内部使用,不应在代码中直接使用。

Do not use this method to create a content source, instead use the Create method of the ContentSourceCollection class.

另请参阅

参考

ContentSource 类
ContentSource 成员
Microsoft.Office.Server.Search.Administration 命名空间
Content 类

其他资源

企业级搜索管理对象模型入门
内容源概述
管理内容
如何:检索共享服务提供程序的内容源
如何:添加内容源
如何:删除内容源
如何:以编程方式管理对内容源的爬网
如何:以编程方式配置内容源的爬网计划