Freigeben über


ContentSourceCollection.Create-Methode (Type, SharePointCrawlBehavior, String)

Fügt eine neue Inhaltsquelle hinzu.

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

Syntax

'Declaration
Public Function Create ( _
    type As Type, _
    wssCrawlStyle As SharePointCrawlBehavior, _
    name As String _
) As ContentSource
'Usage
Dim instance As ContentSourceCollection
Dim type As Type
Dim wssCrawlStyle As SharePointCrawlBehavior
Dim name As String
Dim returnValue As ContentSource

returnValue = instance.Create(type, wssCrawlStyle, _
    name)
public ContentSource Create(
    Type type,
    SharePointCrawlBehavior wssCrawlStyle,
    string name
)

Parameter

Rückgabewert

Typ: Microsoft.Office.Server.Search.Administration.ContentSource

Siehe auch

Referenz

ContentSourceCollection Klasse

ContentSourceCollection-Member

Create-Überladung

Microsoft.Office.Server.Search.Administration-Namespace