public override bool Equals (object obj) { SPKey other = obj as SPKey; if (obj == null) { return false; } return (uri.Equals (other.uri) && other.use_connect == use_connect); } }