Share via


Template.FilterCategories Property

Gets the legacy category of the site that served as the source for the template when the Template represents a custom site template.

Namespace:  websvcSites
Assembly:  STSSOAP (in STSSOAP.dll)

Syntax

'Declaration
Public Property FilterCategories As String
    Get
    Set
'Usage
Dim instance As Template
Dim value As String

value = instance.FilterCategories

instance.FilterCategories = value
public string FilterCategories { get; set; }

Property Value

Type: System.String
a null reference (Nothing in Visual Basic), if the Template represents a site definition configuration instead of a site template.
"Meetings", if the Template represents a site template and the source site from which it was created uses any of the configurations in the MPS site definition.
"Collaboration", if the Template represents a site template and the source site from which it was created uses a configuration from any other site definition, such as STS, BLOG, or WIKI.

Remarks

This property is never read by any code that ships with Windows SharePoint Services 3.0.

Enhanced portal or content management solutions built on Windows SharePoint Services 3.0, such as Microsoft Office SharePoint Server 2007, may use this property for a purpose other than what is described here and it may have a different pattern of values in those solutions from what is described here.

In general this property can be used to categorize site definition configurations in ways that do not map precisely onto the categorizations that appear as tab labels in the Template Selection section of the New SharePoint Site page. (See DisplayCategory.) Since the property is not settable, it can only be changed if a farm administrator resets the value of the FilterCategories attribute of the <Configuration> element in the WebTemp*.xml file that defines the site definition. (See WebTemp.xml for more information.)

See Also

Reference

Template Class

Template Members

websvcSites Namespace

Template.DisplayCategory