示例#1
0
 /// <remarks/>
 public string EndGetDataDrivenSubscriptionProperties(IAsyncResult asyncResult,
                                                      out ExtensionSettings ExtensionSettings,
                                                      out DataRetrievalPlan DataRetrievalPlan,
                                                      out string Description, out ActiveState Active,
                                                      out string Status, out string EventType,
                                                      out string MatchData,
                                                      out ParameterValueOrFieldReference[] Parameters)
 {
     object[] results = EndInvoke(asyncResult);
     ExtensionSettings = ((ExtensionSettings) (results[1]));
     DataRetrievalPlan = ((DataRetrievalPlan) (results[2]));
     Description = ((string) (results[3]));
     Active = ((ActiveState) (results[4]));
     Status = ((string) (results[5]));
     EventType = ((string) (results[6]));
     MatchData = ((string) (results[7]));
     Parameters = ((ParameterValueOrFieldReference[]) (results[8]));
     return ((string) (results[0]));
 }
示例#2
0
 /// <remarks/>
 public void SetDataDrivenSubscriptionPropertiesAsync(string DataDrivenSubscriptionID,
                                                      ExtensionSettings ExtensionSettings,
                                                      DataRetrievalPlan DataRetrievalPlan, string Description,
                                                      string EventType, string MatchData,
                                                      ParameterValueOrFieldReference[] Parameters)
 {
     SetDataDrivenSubscriptionPropertiesAsync(DataDrivenSubscriptionID, ExtensionSettings, DataRetrievalPlan,
                                              Description, EventType, MatchData, Parameters, null);
 }
示例#3
0
 /// <remarks/>
 public void SetDataDrivenSubscriptionPropertiesAsync(string DataDrivenSubscriptionID,
                                                      ExtensionSettings ExtensionSettings,
                                                      DataRetrievalPlan DataRetrievalPlan, string Description,
                                                      string EventType, string MatchData,
                                                      ParameterValueOrFieldReference[] Parameters,
                                                      object userState)
 {
     if ((_setDataDrivenSubscriptionPropertiesOperationCompleted == null))
     {
         _setDataDrivenSubscriptionPropertiesOperationCompleted =
             new SendOrPostCallback(OnSetDataDrivenSubscriptionPropertiesOperationCompleted);
     }
     InvokeAsync("SetDataDrivenSubscriptionProperties", new object[]
                                                            {
                                                                DataDrivenSubscriptionID,
                                                                ExtensionSettings,
                                                                DataRetrievalPlan,
                                                                Description,
                                                                EventType,
                                                                MatchData,
                                                                Parameters
                                                            },
                 _setDataDrivenSubscriptionPropertiesOperationCompleted, userState);
 }
示例#4
0
 /// <remarks/>
 public IAsyncResult BeginSetDataDrivenSubscriptionProperties(string DataDrivenSubscriptionID,
                                                              ExtensionSettings ExtensionSettings,
                                                              DataRetrievalPlan DataRetrievalPlan,
                                                              string Description, string EventType,
                                                              string MatchData,
                                                              ParameterValueOrFieldReference[] Parameters,
                                                              AsyncCallback callback, object asyncState)
 {
     return BeginInvoke("SetDataDrivenSubscriptionProperties", new object[]
                                                                   {
                                                                       DataDrivenSubscriptionID,
                                                                       ExtensionSettings,
                                                                       DataRetrievalPlan,
                                                                       Description,
                                                                       EventType,
                                                                       MatchData,
                                                                       Parameters
                                                                   }, callback, asyncState);
 }
示例#5
0
 public void SetDataDrivenSubscriptionProperties(string DataDrivenSubscriptionID,
                                                 ExtensionSettings ExtensionSettings,
                                                 DataRetrievalPlan DataRetrievalPlan, string Description,
                                                 string EventType, string MatchData,
                                                 ParameterValueOrFieldReference[] Parameters)
 {
     Invoke("SetDataDrivenSubscriptionProperties", new object[]
                                                       {
                                                           DataDrivenSubscriptionID,
                                                           ExtensionSettings,
                                                           DataRetrievalPlan,
                                                           Description,
                                                           EventType,
                                                           MatchData,
                                                           Parameters
                                                       });
 }
示例#6
0
 /// <remarks/>
 public void CreateDataDrivenSubscriptionAsync(string report, ExtensionSettings ExtensionSettings,
                                               DataRetrievalPlan DataRetrievalPlan, string Description,
                                               string EventType, string MatchData,
                                               ParameterValueOrFieldReference[] Parameters, object userState)
 {
     if ((_createDataDrivenSubscriptionOperationCompleted == null))
     {
         _createDataDrivenSubscriptionOperationCompleted =
             new SendOrPostCallback(OnCreateDataDrivenSubscriptionOperationCompleted);
     }
     InvokeAsync("CreateDataDrivenSubscription", new object[]
                                                     {
                                                         report,
                                                         ExtensionSettings,
                                                         DataRetrievalPlan,
                                                         Description,
                                                         EventType,
                                                         MatchData,
                                                         Parameters
                                                     }, _createDataDrivenSubscriptionOperationCompleted, userState);
 }
示例#7
0
 /// <remarks/>
 public void CreateDataDrivenSubscriptionAsync(string report, ExtensionSettings ExtensionSettings,
                                               DataRetrievalPlan DataRetrievalPlan, string Description,
                                               string EventType, string MatchData,
                                               ParameterValueOrFieldReference[] Parameters)
 {
     CreateDataDrivenSubscriptionAsync(report, ExtensionSettings, DataRetrievalPlan, Description, EventType,
                                       MatchData, Parameters, null);
 }
示例#8
0
 public string CreateDataDrivenSubscription(string report, ExtensionSettings ExtensionSettings,
                                            DataRetrievalPlan DataRetrievalPlan, string Description,
                                            string EventType, string MatchData,
                                            ParameterValueOrFieldReference[] Parameters)
 {
     object[] results = Invoke("CreateDataDrivenSubscription", new object[]
                                                                   {
                                                                       report,
                                                                       ExtensionSettings,
                                                                       DataRetrievalPlan,
                                                                       Description,
                                                                       EventType,
                                                                       MatchData,
                                                                       Parameters
                                                                   });
     return ((string) (results[0]));
 }