internal RepMgrSite(DB_REPMGR_SITE site)
 {
     EId = site.eid;
     Address = new ReplicationHostAddress(site.host, site.port);
     isConnected = (site.status == DbConstants.DB_REPMGR_CONNECTED);
     isPeer = (site.flags & DbConstants.DB_REPMGR_PEER) != 0;
 }
 internal static HandleRef getCPtr(DB_REPMGR_SITE obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemple #3
0
 internal static HandleRef getCPtr(DB_REPMGR_SITE obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DB_REPMGR_SITE obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }