ContentSource Constructor
This member is reserved for internal use and is not intended to be used directly from your code. 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
- parent
Type: Microsoft.Office.Server.Search.Administration.ContentSourceCollection
This member is reserved for internal use and is not intended to be used directly from your code.
- 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
Microsoft.Office.Server.Search.Administration Namespace
Microsoft.Office.Server.Search.Administration.Content
Other Resources
Getting Started with the Enterprise Search Administration Object Model
How to: Retrieve the Content Sources for a Shared Services Provider
How to: Delete a Content Source
How to: Programmatically Manage the Crawl of a Content Source
How to: Programmatically Configure a Crawl Schedule for a Content Source