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); } } }
public PortalGroup() { this.refresh = true; this.portalGroup = null; }