Click or drag to resize

AdcsDbReaderGetView Method

Gets a database row view based on a current configuration.

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

Parameters

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

Return Value

Type: 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

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

See Also