Share via


QueryProperties.SiteId property

NOTE: This API is now obsolete.

Gets or sets the identifier (ID) for the site associated with the query.

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
<DataMemberAttribute> _
<ObsoleteAttribute("This class is obsolete.")> _
Public Property SiteId As Guid
    Get
    Set
'Usage
Dim instance As QueryProperties
Dim value As Guid

value = instance.SiteId

instance.SiteId = value
[DataMemberAttribute]
[ObsoleteAttribute("This class is obsolete.")]
public Guid SiteId { get; set; }

Property value

Type: System.Guid
A Guid representing the site ID.

See also

Reference

QueryProperties class

QueryProperties members

Microsoft.SharePoint.Search.Query namespace