AdcsDbReaderGetView Method

Gets a database row view based on a current configuration.

Definition

Namespace: SysadminsLV.PKI.Management.CertificateServices.Database
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public IEnumerable<AdcsDbRow> GetView(
	int skipRows = 0,
	int takeRows = 2147483647
)

Parameters

skipRows  Int32  (Optional)
Number of rows to skip. Default is 0.
takeRows  Int32  (Optional)
Number of rows to fetch. Default is unlimited.

Return Value

IEnumerableAdcsDbRow
Database row view enumerator.

Remarks

After calling this method, CA database reader configuration cannot be altered. That is, no columns or query filters can be added. In order to change reader configuration, a new instance of AdcsDbReader class must be created.

This method supports

C#
yield return
statement and returns row as quickly as they are retrieved by a reader.

See Also