TestimoX

API Reference

Class

DnsRecordInventoryService

Namespace ADPlayground.Dns
Assembly ADPlayground
Modifiers static

Collects record-level Microsoft DNS inventory through the reusable WMI substrate.

Inheritance

  • Object
  • DnsRecordInventoryService

Methods

public static DnsRecordInventorySnapshot BuildSnapshot(Options options, String dnsServer, IEnumerable<String> zoneNames, IEnumerable<DnsRecordInventoryItem> records, Boolean collectionSucceeded = true, String collectionError = "", DnsCollectionDiagnostics diagnostics = null) #
Returns: DnsRecordInventorySnapshot

Builds a snapshot from already collected rows. This is the preferred unit-test seam.

Parameters

options ADPlayground.Dns.DnsRecordInventoryService.Options requiredposition: 0
dnsServer System.String requiredposition: 1
zoneNames System.Collections.Generic.IEnumerable{System.String} requiredposition: 2
records System.Collections.Generic.IEnumerable{ADPlayground.Dns.DnsRecordInventoryItem} requiredposition: 3
collectionSucceeded System.Boolean = true optionalposition: 4
collectionError System.String = "" optionalposition: 5
diagnostics ADPlayground.Dns.DnsCollectionDiagnostics = null optionalposition: 6
public static DnsRecordInventorySnapshot Collect(Options options) #
Returns: DnsRecordInventorySnapshot

Collects DNS records using live Microsoft DNS WMI queries.

Parameters

options ADPlayground.Dns.DnsRecordInventoryService.Options requiredposition: 0
Collection options.

Returns

Typed DNS record inventory snapshot.

public static String NormalizeName(String name) #
Returns: String

Normalizes a DNS name for case-insensitive comparison.

Parameters

name System.String requiredposition: 0