Share via


Query.SourceId property

Specifies the identifier (ID) of the result source to be used to run the query.

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

Syntax

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

value = instance.SourceId

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

Property value

Type: System.Guid

See also

Reference

Query class

Query members

Microsoft.SharePoint.Client.Search.Query namespace