Exemplo n.º 1
0
 public VmDnsZone(
     VmDnsSession session,
     VMDNS_ZONE_INFO zoneInfo
     )
 {
     this.session  = session;
     this.zoneInfo = zoneInfo;
 }
Exemplo n.º 2
0
        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);
            }
        }
Exemplo n.º 3
0
        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);
            }
        }
Exemplo n.º 4
0
 public abstract void DeleteFromZone(
     string zoneName,
     VmDnsSession session
     );
Exemplo n.º 5
0
 public abstract void AddToZone(
     string zoneName,
     VmDnsSession session
     );