public VmDnsZone( VmDnsSession session, VMDNS_ZONE_INFO zoneInfo ) { this.session = session; this.zoneInfo = zoneInfo; }
public override void DeleteFromZone( string zoneName, VmDnsSession session ) { VMDNS_RECORD_SRV record = this.RECORD; UInt32 error = Adaptor.VmDnsDeleteRecordSRV( session.ServerContext, zoneName, ref record); if (error != 0) { throw new VmDnsException(error); } }
public override void AddToZone( string zoneName, VmDnsSession session ) { VMDNS_RECORD_SOA record = this.RECORD; UInt32 error = Adaptor.VmDnsAddRecordSOA( session.ServerContext, zoneName, ref record); if (error != 0) { throw new VmDnsException(error); } }
public abstract void DeleteFromZone( string zoneName, VmDnsSession session );
public abstract void AddToZone( string zoneName, VmDnsSession session );