Share via


ContentSource constructor (ContentSourceCollection, String)

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.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Protected Friend Sub New ( _
    parent As ContentSourceCollection, _
    name As String _
)
'Usage
Dim parent As ContentSourceCollection
Dim name As String

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

Parameters

  • name
    Type: System.String

    This member is reserved for internal use and is not intended to be used directly from your code.

Remarks

This member is reserved for internal use and is not intended to be used directly from your code.

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

See also

Reference

ContentSource class

ContentSource members

ContentSource overload

Microsoft.Office.Server.Search.Administration namespace

Microsoft.Office.Server.Search.Administration.Content