SPWeb.NoCrawl property
取得或設定布林值,指定是否啟用網站的搜尋。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property NoCrawl As Boolean
Get
Set
'用途
Dim instance As SPWeb
Dim value As Boolean
value = instance.NoCrawl
instance.NoCrawl = value
public bool NoCrawl { get; set; }
Property value
Type: System.Boolean
true如果未啟用搜尋。否則, false。