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
- name
类型:System.String
返回值
类型:Microsoft.Office.Server.Search.Administration.ContentSource