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 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 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);
        }