Share via


RegistryManager.CreateQuery Method

Definition

Overloads

CreateQuery(String)

Retrieves a handle through which a result for a given query can be fetched.

CreateQuery(String, Nullable<Int32>)

Retrieves a handle through which a result for a given query can be fetched.

CreateQuery(String)

Retrieves a handle through which a result for a given query can be fetched.

public virtual Microsoft.Azure.Devices.IQuery CreateQuery (string sqlQueryString);
abstract member CreateQuery : string -> Microsoft.Azure.Devices.IQuery
override this.CreateQuery : string -> Microsoft.Azure.Devices.IQuery
Public Overridable Function CreateQuery (sqlQueryString As String) As IQuery

Parameters

sqlQueryString
String

The SQL query.

Returns

A handle used to fetch results for a SQL query.

Applies to

CreateQuery(String, Nullable<Int32>)

Retrieves a handle through which a result for a given query can be fetched.

public virtual Microsoft.Azure.Devices.IQuery CreateQuery (string sqlQueryString, int? pageSize);
abstract member CreateQuery : string * Nullable<int> -> Microsoft.Azure.Devices.IQuery
override this.CreateQuery : string * Nullable<int> -> Microsoft.Azure.Devices.IQuery
Public Overridable Function CreateQuery (sqlQueryString As String, pageSize As Nullable(Of Integer)) As IQuery

Parameters

sqlQueryString
String

The SQL query.

pageSize
Nullable<Int32>

The maximum number of items per page.

Returns

A handle used to fetch results for a SQL query.

Applies to