public bool Contains(SPWebPartConnectionInstance value)
        {
            if (value == null)
            {
                throw new JavaScriptException(Engine, "Error", "A web part connection must be specified as the first argument");
            }

            return(m_webPartConnectionCollection.Contains(value.SPWebPartConnection));
        }
        public void DisconnectWebParts(SPWebPartConnectionInstance connection)
        {
            if (connection == null)
            {
                throw new JavaScriptException(this.Engine, "Error", "A web part connection must be supplied as the first argument.");
            }

            m_limitedWebPartManager.SPDisconnectWebParts(connection.SPWebPartConnection);
        }
        public void Remove(SPWebPartConnectionInstance value)
        {
            if (value == null)
            {
                throw new JavaScriptException(Engine, "Error", "A web part connection must be specified as the first argument");
            }

            m_webPartConnectionCollection.Remove(value.SPWebPartConnection);
        }