你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ProvisioningServiceClient.CreateEnrollmentGroupRegistrationStateQuery 方法

定义

重载

CreateEnrollmentGroupRegistrationStateQuery(QuerySpecification, String)

用于创建注册状态查询的工厂。

CreateEnrollmentGroupRegistrationStateQuery(QuerySpecification, String, HttpTransportSettings)

用于创建注册状态查询的工厂。

CreateEnrollmentGroupRegistrationStateQuery(QuerySpecification, String, Int32)

用于创建注册状态查询的工厂。

CreateEnrollmentGroupRegistrationStateQuery(QuerySpecification, String, CancellationToken)

用于创建注册状态查询的工厂。

CreateEnrollmentGroupRegistrationStateQuery(QuerySpecification, String, Int32, HttpTransportSettings)

用于创建注册状态查询的工厂。

CreateEnrollmentGroupRegistrationStateQuery(QuerySpecification, String, Int32, CancellationToken)

用于创建注册状态查询的工厂。

CreateEnrollmentGroupRegistrationStateQuery(QuerySpecification, String)

用于创建注册状态查询的工厂。

public Microsoft.Azure.Devices.Provisioning.Service.Query CreateEnrollmentGroupRegistrationStateQuery (Microsoft.Azure.Devices.Provisioning.Service.QuerySpecification querySpecification, string enrollmentGroupId);
member this.CreateEnrollmentGroupRegistrationStateQuery : Microsoft.Azure.Devices.Provisioning.Service.QuerySpecification * string -> Microsoft.Azure.Devices.Provisioning.Service.Query
Public Function CreateEnrollmentGroupRegistrationStateQuery (querySpecification As QuerySpecification, enrollmentGroupId As String) As Query

参数

querySpecification
QuerySpecification

包含 QuerySpecification SQL 查询的 。 它不能为 null

enrollmentGroupId
String

string标识 enrollmentGroup 的 。 它不能为 null 或为空。

返回

迭代 Query 器。

注解

此方法将为设备预配服务上的特定注册组创建新的注册状态查询,并将其作为 Query 迭代器返回。

设备预配服务需要 中的 QuerySpecificationSQL 查询,例如 "SELECT * FROM enrollments"

适用于

CreateEnrollmentGroupRegistrationStateQuery(QuerySpecification, String, HttpTransportSettings)

用于创建注册状态查询的工厂。

public Microsoft.Azure.Devices.Provisioning.Service.Query CreateEnrollmentGroupRegistrationStateQuery (Microsoft.Azure.Devices.Provisioning.Service.QuerySpecification querySpecification, string enrollmentGroupId, Microsoft.Azure.Devices.Provisioning.Service.HttpTransportSettings httpTransportSettings);
member this.CreateEnrollmentGroupRegistrationStateQuery : Microsoft.Azure.Devices.Provisioning.Service.QuerySpecification * string * Microsoft.Azure.Devices.Provisioning.Service.HttpTransportSettings -> Microsoft.Azure.Devices.Provisioning.Service.Query
Public Function CreateEnrollmentGroupRegistrationStateQuery (querySpecification As QuerySpecification, enrollmentGroupId As String, httpTransportSettings As HttpTransportSettings) As Query

参数

querySpecification
QuerySpecification

包含 QuerySpecification SQL 查询的 。 它不能为 null

enrollmentGroupId
String

string标识 enrollmentGroup 的 。 它不能为 null 或为空。

httpTransportSettings
HttpTransportSettings

指定 HTTP 传输设置

返回

迭代 Query 器。

注解

此方法将为设备预配服务上的特定注册组创建新的注册状态查询,并将其作为 Query 迭代器返回。

设备预配服务需要 中的 QuerySpecificationSQL 查询,例如 "SELECT * FROM enrollments"

适用于

CreateEnrollmentGroupRegistrationStateQuery(QuerySpecification, String, Int32)

用于创建注册状态查询的工厂。

public Microsoft.Azure.Devices.Provisioning.Service.Query CreateEnrollmentGroupRegistrationStateQuery (Microsoft.Azure.Devices.Provisioning.Service.QuerySpecification querySpecification, string enrollmentGroupId, int pageSize);
member this.CreateEnrollmentGroupRegistrationStateQuery : Microsoft.Azure.Devices.Provisioning.Service.QuerySpecification * string * int -> Microsoft.Azure.Devices.Provisioning.Service.Query
Public Function CreateEnrollmentGroupRegistrationStateQuery (querySpecification As QuerySpecification, enrollmentGroupId As String, pageSize As Integer) As Query

参数

querySpecification
QuerySpecification

包含 QuerySpecification SQL 查询的 。 它不能为 null

enrollmentGroupId
String

string标识 enrollmentGroup 的 。 它不能为 null 或为空。

pageSize
Int32

具有 int 每次迭代的最大项数的 。 默认值可以为 0,但不能为负数。

返回

迭代 Query 器。

例外

如果提供的参数不正确,则为 。

注解

此方法将为设备预配服务上的特定注册组创建新的注册状态查询,并将其作为 Query 迭代器返回。

设备预配服务需要 中的 QuerySpecificationSQL 查询,例如 "SELECT * FROM enrollments"

对于每次迭代,查询将返回对应于查询结果的对象列表。 每个迭代的最大项数可由 pageSize 指定。 这是可选的,可以为默认 pageSize 提供 0 ,也可以使用 API CreateIndividualEnrollmentQuery(QuerySpecification)

适用于

CreateEnrollmentGroupRegistrationStateQuery(QuerySpecification, String, CancellationToken)

用于创建注册状态查询的工厂。

public Microsoft.Azure.Devices.Provisioning.Service.Query CreateEnrollmentGroupRegistrationStateQuery (Microsoft.Azure.Devices.Provisioning.Service.QuerySpecification querySpecification, string enrollmentGroupId, System.Threading.CancellationToken cancellationToken);
member this.CreateEnrollmentGroupRegistrationStateQuery : Microsoft.Azure.Devices.Provisioning.Service.QuerySpecification * string * System.Threading.CancellationToken -> Microsoft.Azure.Devices.Provisioning.Service.Query
Public Function CreateEnrollmentGroupRegistrationStateQuery (querySpecification As QuerySpecification, enrollmentGroupId As String, cancellationToken As CancellationToken) As Query

参数

querySpecification
QuerySpecification

包含 QuerySpecification SQL 查询的 。 它不能为 null

enrollmentGroupId
String

string标识 enrollmentGroup 的 。 它不能为 null 或为空。

cancellationToken
CancellationToken

取消标记。

返回

迭代 Query 器。

注解

此方法将为设备预配服务上的特定注册组创建新的注册状态查询,并将其作为 Query 迭代器返回。

设备预配服务需要 中的 QuerySpecificationSQL 查询,例如 "SELECT * FROM enrollments"

适用于

CreateEnrollmentGroupRegistrationStateQuery(QuerySpecification, String, Int32, HttpTransportSettings)

用于创建注册状态查询的工厂。

public Microsoft.Azure.Devices.Provisioning.Service.Query CreateEnrollmentGroupRegistrationStateQuery (Microsoft.Azure.Devices.Provisioning.Service.QuerySpecification querySpecification, string enrollmentGroupId, int pageSize, Microsoft.Azure.Devices.Provisioning.Service.HttpTransportSettings httpTransportSettings);
member this.CreateEnrollmentGroupRegistrationStateQuery : Microsoft.Azure.Devices.Provisioning.Service.QuerySpecification * string * int * Microsoft.Azure.Devices.Provisioning.Service.HttpTransportSettings -> Microsoft.Azure.Devices.Provisioning.Service.Query
Public Function CreateEnrollmentGroupRegistrationStateQuery (querySpecification As QuerySpecification, enrollmentGroupId As String, pageSize As Integer, httpTransportSettings As HttpTransportSettings) As Query

参数

querySpecification
QuerySpecification

包含 QuerySpecification SQL 查询的 。 它不能为 null

enrollmentGroupId
String

string标识 enrollmentGroup 的 。 它不能为 null 或为空。

pageSize
Int32

具有 int 每次迭代的最大项数的 。 默认值可以为 0,但不能为负数。

httpTransportSettings
HttpTransportSettings

指定 HTTP 传输设置

返回

迭代 Query 器。

例外

如果提供的参数不正确,则为 。

注解

此方法将为设备预配服务上的特定注册组创建新的注册状态查询,并将其作为 Query 迭代器返回。

设备预配服务需要 中的 QuerySpecificationSQL 查询,例如 "SELECT * FROM enrollments"

对于每次迭代,查询将返回对应于查询结果的对象列表。 每个迭代的最大项数可由 pageSize 指定。 这是可选的,可以为默认 pageSize 提供 0 ,也可以使用 API CreateIndividualEnrollmentQuery(QuerySpecification)

适用于

CreateEnrollmentGroupRegistrationStateQuery(QuerySpecification, String, Int32, CancellationToken)

用于创建注册状态查询的工厂。

public Microsoft.Azure.Devices.Provisioning.Service.Query CreateEnrollmentGroupRegistrationStateQuery (Microsoft.Azure.Devices.Provisioning.Service.QuerySpecification querySpecification, string enrollmentGroupId, int pageSize, System.Threading.CancellationToken cancellationToken);
member this.CreateEnrollmentGroupRegistrationStateQuery : Microsoft.Azure.Devices.Provisioning.Service.QuerySpecification * string * int * System.Threading.CancellationToken -> Microsoft.Azure.Devices.Provisioning.Service.Query
Public Function CreateEnrollmentGroupRegistrationStateQuery (querySpecification As QuerySpecification, enrollmentGroupId As String, pageSize As Integer, cancellationToken As CancellationToken) As Query

参数

querySpecification
QuerySpecification

包含 QuerySpecification SQL 查询的 。 它不能为 null

enrollmentGroupId
String

string标识 enrollmentGroup 的 。 它不能为 null 或为空。

pageSize
Int32

具有 int 每次迭代的最大项数的 。 默认值可以为 0,但不能为负数。

cancellationToken
CancellationToken

取消标记。

返回

迭代 Query 器。

例外

如果提供的参数不正确,则为 。

注解

此方法将为设备预配服务上的特定注册组创建新的注册状态查询,并将其作为 Query 迭代器返回。

设备预配服务需要 中的 QuerySpecificationSQL 查询,例如 "SELECT * FROM enrollments"

对于每次迭代,查询将返回对应于查询结果的对象列表。 每个迭代的最大项数可由 pageSize 指定。 这是可选的,可以为默认 pageSize 提供 0 ,也可以使用 API CreateIndividualEnrollmentQuery(QuerySpecification)

适用于