Partager via


ContentSourceCollection.Create - Méthode (Type, SharePointCrawlBehavior, String)

Ajoute une nouvelle source de contenu.

Espace de noms :  Microsoft.Office.Server.Search.Administration
Assembly :  Microsoft.Office.Server.Search (dans Microsoft.Office.Server.Search.dll)

Syntaxe

'Déclaration
Public Function Create ( _
    type As Type, _
    wssCrawlStyle As SharePointCrawlBehavior, _
    name As String _
) As ContentSource
'Utilisation
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
)

Paramètres

Valeur renvoyée

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

Voir aussi

Référence

ContentSourceCollection classe

ContentSourceCollection - Membres

Create - Surcharge

Microsoft.Office.Server.Search.Administration - Espace de noms