CrawlMappingCollection 类 (Microsoft.Office.Server.Search.Administration)
Represents a collection of CrawlMapping objects.
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)
语法
声明
<DefaultMemberAttribute("Item")> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
Public NotInheritable Class CrawlMappingCollection
Implements IEnumerable
用法
Dim instance As CrawlMappingCollection
[DefaultMemberAttribute("Item")]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)]
public sealed class CrawlMappingCollection : IEnumerable
备注
Use the CrawlMappings property of the Content class to get the collection of crawl mappings for a Shared Service Provider.
To add a new crawl mapping to the collection, use the Create method of the CrawlMappingCollection class.
To delete a crawl mapping, use the Delete method of the CrawlMapping class.
Use an indexer to return a single crawl mapping from the CrawlMappingCollection object. For example, assuming the collection is assigned to a variable named sspCrawlMappings, use sspCrawlMappings[index] in Microsoft Visual C# or sspCrawlMappings(index) in Microsoft Visual Basic, where index is the index number of the crawl mapping in the collection, or a System.Uri object representing the URI for the crawl mapping.
继承层次结构
System.Object
Microsoft.Office.Server.Search.Administration.CrawlMappingCollection
线程安全性
此类型的任何公共静态(在 Visual Basic 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。
另请参阅
参考
CrawlMappingCollection 成员
Microsoft.Office.Server.Search.Administration 命名空间