Share via


Query.PartitionId Property

Applies to: Microsoft SharePoint Server 2010 search
Specifies the unique identifier (ID) of the index partition to use for this search query.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Property PartitionId As Guid
    Get
    Set
'Usage
Dim instance As Query
Dim value As Guid

value = instance.PartitionId

instance.PartitionId = value
public Guid PartitionId { get; set; }

Property Value

Type: System.Guid
The index partition ID.

Remarks

This property returns Empty() for query without a specified index partition.

See Also

Reference

Query Class

Query Members

Microsoft.Office.Server.Search.Query Namespace