Share via


QueryTemplateSelectPart Property

The QueryTemplateSelectPart property of the QueryResultBase class gets or sets the SELECT clause of the query template used by Web Parts that derive from this class.

Property Value

String that contains the SELECT clause of the query template used by Web Parts that derive from this class.

Remarks

Override this property to get or set default values or placeholders for the SELECT clause. For example, the SearchResults class sets this property to following string:

SELECT
"DAV:href",
"DAV:displayname",
"DAV:contentclass",
"DAV:getlastmodified",
"DAV:getcontentlength",
"DAV:iscollection",
"urn:schemas-microsoft-com:sharepoint:portal:profile:WorkPhone",
"urn:schemas-microsoft-com:sharepoint:portal:profile:WorkEmail",
"urn:schemas-microsoft-com:sharepoint:portal:profile:Title",
"urn:schemas-microsoft-com:sharepoint:portal:profile:Department",
"urn:schemas.microsoft.com:fulltextqueryinfo:PictureURL",
"urn:schemas-microsoft-com:office:office#Author",
"urn:schemas.microsoft.com:fulltextqueryinfo:description",
"urn:schemas.microsoft.com:fulltextqueryinfo:rank",
"urn:schemas.microsoft.com:fulltextqueryinfo:sitename",
"urn:schemas.microsoft.com:fulltextqueryinfo:displaytitle",
"urn:schemas-microsoft-com:publishing:Category",
"urn:schemas-microsoft-com:office:office#ows_CrawlType",
"urn:schemas-microsoft-com:office:office#ows_ListTemplate",
"urn:schemas-microsoft-com:office:office#ows_SiteName",
"urn:schemas-microsoft-com:office:office#ows_ImageWidth",
"urn:schemas-microsoft-com:office:office#ows_ImageHeight",
"DAV:getcontenttype",
"urn:schemas-microsoft-com:sharepoint:portal:area:Path",
"urn:schemas-microsoft-com:sharepoint:portal:area:CategoryUrlNavigation",
"urn:schemas-microsoft-com:publishing:CategoryTitle",
"urn:schemas.microsoft.com:fulltextqueryinfo:sdid",
"urn:schemas-microsoft-com:sharepoint:portal:objectid"

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security