Removes all DNS records with the specified name and type

Namespace:  JHSoftware.SimpleDNSPlus
Assembly:  SDNSAPI (in SDNSAPI)
Version: 1.1.0.0 (1.1.0.0)

Syntax

C#
public int Remove(
	string name,
	string type
)
Visual Basic (Declaration)
Public Function Remove ( _
	name As String, _
	type As String _
) As Integer

Parameters

name
Type: System..::.String
Domain name (FQDN) of the record to remove
type
Type: System..::.String
The type of the record to remove. For example "A" or "MX".

Return Value

The number of DNS records that were removed

Remarks

SOA-records cannot be removed

See Also