共用方式為


_sWebMetadata.UsedInAutocat Field

Specifies whether the SPWeb has categories.

Namespace:  [SiteData Web service]
Web service reference: http://Site/_vti_bin/SiteData.asmx

Syntax

'Declaration
Public UsedInAutocat As Boolean
'Usage
Dim instance As _sWebMetadata
Dim value As Boolean

value = instance.UsedInAutocat

instance.UsedInAutocat = value
public bool UsedInAutocat

Remarks

It must be returned only if the site has an external security provider. The client must ignore it.

When documents are categorized manually, essentially what occurs is the setting of the urn:schemas-microsoft-com:publishing:Categories property of the document. However, when the Category Assistant categorizes documents, it sets the urn:schemas-microsoft-com:publishing:AutoCategories property instead. The urn:schemas-microsoft-com:publishing:AutoCategories property is only available by using a search.

See Also

Reference

_sWebMetadata Structure

_sWebMetadata Members

SiteData Web Service

Other Resources

SharePoint Portal Server Default Query

Working with the Sample

Content Sources