Partager via


ContentSourceCollection.Create Method (Type, SharePointCrawlBehavior, String)

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
)

Parameters

Return Value

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

See Also

Reference

ContentSourceCollection Class

ContentSourceCollection Members

Create Overload

Microsoft.Office.Server.Search.Administration Namespace