Share via


STSQueryParts.Query Property

NOTE: This API is now obsolete.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("SiteRegQueryPartsWebpart_Property_Query_Text", "",  _
    "SiteRegQueryPartsWebpart_Property_Query_Description")> _
<ObsoleteAttribute("This class is obsolete.")> _
Public Property Query As QueryType
    Get
    Set
'Usage
Dim instance As STSQueryParts
Dim value As QueryType

value = instance.Query

instance.Query = value
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("SiteRegQueryPartsWebpart_Property_Query_Text", "", 
    "SiteRegQueryPartsWebpart_Property_Query_Description")]
[ObsoleteAttribute("This class is obsolete.")]
public QueryType Query { get; set; }

Property Value

Type: Microsoft.SharePoint.Portal.WebControls.QueryType

See Also

Reference

STSQueryParts Class

STSQueryParts Members

Microsoft.SharePoint.Portal.WebControls Namespace