Beispiel #1
0
 public override void InitializeComInterfaces()
 {
     base.InitializeComInterfaces();
     if (this.portalGroup == null)
     {
         try
         {
             this.portalGroup = (IVdsIscsiPortalGroup)base.ComUnknown;
         }
         catch (InvalidCastException exception)
         {
             throw new VdsException("QueryInterface for IVdsIscsiPortalGroup failed.", exception);
         }
     }
 }
Beispiel #2
0
 public PortalGroup()
 {
     this.refresh     = true;
     this.portalGroup = null;
 }