C# Class DNSManagement.Server

Inheritance: System.Windows.Forms.Form
Datei anzeigen Open project: drorgl/MSDNSWebAdmin Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
GetCache ( ) : DNSManagement.Cache[]

Get Cached requests

GetDistinguishedName ( ) : string

Retrieves DNS distinguished name for the zone.

GetDomains ( ) : DNSManagement.Domain[]

Retrieves a list of Domains from the server

GetRootHints ( ) : DNSManagement.RootHints[]

Get Root Hints

GetStatistics ( ) : DNSManagement.Statistic[]

Gets all records

Gets Statistics

GetZones ( ) : DNSManagement.Zone[]

Retrieves all Zones

Save ( ) : void

Saves modifications to the Server

Server ( ) : System

Server - local

Server ( string host, string username, string password ) : System

Server - host/username/password

StartScavenging ( ) : UInt32

Starts scavenging stale records in the zones subjected to scavenging.

StartService ( ) : UInt32

Starts the DNS Server.

StopService ( ) : UInt32

Stops the DNS Server.

ToConfigurationFile ( ) : string
ToString ( ) : string

ToString

Private Methods

Method Description
loadServerClass ( ) : void

Loads the server class

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetCache() public method

Get Cached requests
public GetCache ( ) : DNSManagement.Cache[]
return DNSManagement.Cache[]

GetDistinguishedName() public method

Retrieves DNS distinguished name for the zone.
public GetDistinguishedName ( ) : string
return string

GetDomains() public method

Retrieves a list of Domains from the server
public GetDomains ( ) : DNSManagement.Domain[]
return DNSManagement.Domain[]

GetRootHints() public method

Get Root Hints
public GetRootHints ( ) : DNSManagement.RootHints[]
return DNSManagement.RootHints[]

GetStatistics() public method

Gets all records Gets Statistics
public GetStatistics ( ) : DNSManagement.Statistic[]
return DNSManagement.Statistic[]

GetZones() public method

Retrieves all Zones
public GetZones ( ) : DNSManagement.Zone[]
return DNSManagement.Zone[]

Save() public method

Saves modifications to the Server
public Save ( ) : void
return void

Server() public method

Server - local
public Server ( ) : System
return System

Server() public method

Server - host/username/password
public Server ( string host, string username, string password ) : System
host string
username string
password string
return System

StartScavenging() public method

Starts scavenging stale records in the zones subjected to scavenging.
public StartScavenging ( ) : UInt32
return System.UInt32

StartService() public method

Starts the DNS Server.
public StartService ( ) : UInt32
return System.UInt32

StopService() public method

Stops the DNS Server.
public StopService ( ) : UInt32
return System.UInt32

ToConfigurationFile() public method

public ToConfigurationFile ( ) : string
return string

ToString() public method

ToString
public ToString ( ) : string
return string