public void DeletePublic(bool bForce) { if (!this.state.Public) { Marshal.ThrowExceptionForHR(-2147467259); } IOPCServerPublicGroups ifServer = null; ifServer = (IOPCServerPublicGroups)this.ifServer; if (ifServer == null) { Marshal.ThrowExceptionForHR(-2147467262); } int handleServer = this.state.HandleServer; this.Remove(false); ifServer.RemovePublicGroup(handleServer, bForce); ifServer = null; }