ContentSource 构造函数 (ContentSourceCollection, String)

ContentSource类的新实例进行初始化。不使用此方法来创建一个内容源。相反,使用ContentSourceCollection类的**Create()**方法。

命名空间:  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
)

参数

  • name
    类型:System.String

    此成员仅供内部使用,不能直接在您的代码中使用。

备注

此成员仅供内部使用,不能直接在您的代码中使用。

不使用此方法来创建一个内容源。相反,使用ContentSourceCollection类的**Create()**方法。

另请参阅

引用

ContentSource 类

ContentSource 成员

ContentSource 重载

Microsoft.Office.Server.Search.Administration 命名空间

Microsoft.Office.Server.Search.Administration.Content