public void SetSubscriptionProperties(string SubscriptionID, RSExtensionSettings ExtensionSettings, string Description, string EventType, string MatchData, RSParameterValue[] Parameters)
        {
            ExtensionSettings extSetting = (ExtensionSettings)Converter.Convert(ExtensionSettings);

            ParameterValue[] paramValues = (ParameterValue[])Converter.Convert(Parameters);
            rs.SetSubscriptionProperties(SubscriptionID, extSetting, Description, EventType, MatchData, paramValues);
        }
        public string CreateSubscription(string ItemPath, RSExtensionSettings ExtensionSettings, string Description, string EventType, string MatchData, RSParameterValue[] Parameters)
        {
            ExtensionSettings extSetting = (ExtensionSettings)Converter.Convert(ExtensionSettings);

            ParameterValue[] param  = (ParameterValue[])Converter.Convert(Parameters);
            string           outval = rs.CreateSubscription(ItemPath, extSetting, Description, EventType, MatchData, param);

            return(outval);
        }
        public string CreateDataDrivenSubscription(string ItemPath, RSExtensionSettings ExtensionSettings, RSDataRetrievalPlan DataRetrievalPlan, string Description, string EventType, string MatchData, RSParameterValueOrFieldReference[] Parameters)
        {
            ExtensionSettings extSetting        = (ExtensionSettings)Converter.Convert(ExtensionSettings);
            DataRetrievalPlan dataRetrievalPlan = (DataRetrievalPlan)Converter.Convert(DataRetrievalPlan);

            ParameterValueOrFieldReference[] paramValues = (ParameterValueOrFieldReference[])Converter.Convert(Parameters);
            string outval = rs.CreateDataDrivenSubscription(ItemPath, extSetting, dataRetrievalPlan, Description, EventType, MatchData, paramValues);

            return(outval);
        }
        public string GetSubscriptionProperties(string SubscriptionID, out RSExtensionSettings ExtensionSettings, out string Description, out RSActiveState Active, out string Status, out string EventType, out string MatchData, out RSParameterValue[] Parameters)
        {
            ExtensionSettings extSetting;
            ActiveState       active;

            ParameterValue[] paramValues;
            string           outVal = rs.GetSubscriptionProperties(SubscriptionID, out extSetting, out Description, out active, out Status, out EventType, out MatchData, out paramValues);

            Active            = (RSActiveState)Converter.Convert(active);
            Parameters        = (RSParameterValue[])Converter.Convert(paramValues);
            ExtensionSettings = (RSExtensionSettings)Converter.Convert(extSetting);

            return(outVal);
        }
        public string GetDataDrivenSubscriptionProperties(string DataDrivenSubscriptionID, out RSExtensionSettings ExtensionSettings, out RSDataRetrievalPlan DataRetrievalPlan, out string Description, out RSActiveState Active, out string Status, out string EventType, out string MatchData, out RSParameterValueOrFieldReference[] Parameters)
        {
            ExtensionSettings extSettings;
            DataRetrievalPlan dataRetrievalPaln;

            ParameterValueOrFieldReference[] paramValues;
            ActiveState active;
            string      outval = rs.GetDataDrivenSubscriptionProperties(DataDrivenSubscriptionID, out extSettings, out dataRetrievalPaln, out Description, out active, out Status, out EventType, out MatchData, out paramValues);

            ExtensionSettings = (RSExtensionSettings)Converter.Convert(extSettings);
            DataRetrievalPlan = (RSDataRetrievalPlan)Converter.Convert(dataRetrievalPaln);
            Active            = (RSActiveState)Converter.Convert(active);
            Parameters        = (RSParameterValueOrFieldReference[])Converter.Convert(paramValues);
            return(outval);
        }
        public void SetDataDrivenSubscriptionProperties(string DataDrivenSubscriptionID, RSExtensionSettings ExtensionSettings, RSDataRetrievalPlan DataRetrievalPlan, string Description, string EventType, string MatchData, RSParameterValueOrFieldReference[] Parameters)
        {
            ExtensionSettings extSettings       = (ExtensionSettings)Converter.Convert(ExtensionSettings);
            DataRetrievalPlan dataRetrievalPaln = (DataRetrievalPlan)Converter.Convert(DataRetrievalPlan);

            ParameterValueOrFieldReference[] paramValues = (ParameterValueOrFieldReference[])Converter.Convert(Parameters);
            rs.SetDataDrivenSubscriptionProperties(DataDrivenSubscriptionID, extSettings, dataRetrievalPaln, Description, EventType, MatchData, paramValues);
        }