Метод ContentSourceCollection.Create (Type, SharePointCrawlBehavior, String)
Добавляет новый источник содержимого.
Пространство имен: Microsoft.Office.Server.Search.Administration
Сборка: Microsoft.Office.Server.Search (в Microsoft.Office.Server.Search.dll)
Синтаксис
'Декларация
Public Function Create ( _
type As Type, _
wssCrawlStyle As SharePointCrawlBehavior, _
name As String _
) As ContentSource
'Применение
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
)
Параметры
- type
Тип: System.Type
- wssCrawlStyle
Тип: Microsoft.Office.Server.Search.Administration.SharePointCrawlBehavior
- name
Тип: System.String
Возвращаемое значение
Тип: Microsoft.Office.Server.Search.Administration.ContentSource
См. также
Справочные материалы
Элементы ContentSourceCollection
Пространство имен Microsoft.Office.Server.Search.Administration