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