Query.SourceId property

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

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.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.Office.Server.Search.Query namespace