コード例 #1
0
 public void CreateDataSource(DataSource source)
 {
     RS.DataSourceDefinition definition = new RS.DataSourceDefinition
     {
         Extension                = source.Extension,
         ConnectString            = source.ConnectionString,
         CredentialRetrieval      = (RS.CredentialRetrievalEnum)source.CredentialRetrieval,
         Enabled                  = true,
         EnabledSpecified         = true,
         ImpersonateUser          = false,
         ImpersonateUserSpecified = true,
         Prompt             = null,
         WindowsCredentials = source.WindowsCredentials,
     };
     if (source.UserName != null)
     {
         definition.UserName = source.UserName;
         definition.Password = source.Password;
     }
 }
コード例 #2
0
ファイル: ReportingService.cs プロジェクト: bigWebApps/Fleet
 public void SetDataSourceContents(string DataSource, DataSourceDefinition Definition)
 {
     this.Invoke("SetDataSourceContents", new object[] {
                                                           DataSource,
                                                           Definition});
 }
コード例 #3
0
ファイル: ReportingService.cs プロジェクト: bigWebApps/Fleet
 public void CreateDataSource(string DataSource, string Parent, bool Overwrite, DataSourceDefinition Definition, Property[] Properties)
 {
     this.Invoke("CreateDataSource", new object[] {
                                                      DataSource,
                                                      Parent,
                                                      Overwrite,
                                                      Definition,
                                                      Properties});
 }
コード例 #4
0
ファイル: ReportingService.cs プロジェクト: bigWebApps/Fleet
 /// <remarks/>
 public System.IAsyncResult BeginSetDataSourceContents(string DataSource, DataSourceDefinition Definition, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("SetDataSourceContents", new object[] {
                                                                       DataSource,
                                                                       Definition}, callback, asyncState);
 }
コード例 #5
0
ファイル: ReportingService.cs プロジェクト: bigWebApps/Fleet
 /// <remarks/>
 public System.IAsyncResult BeginCreateDataSource(string DataSource, string Parent, bool Overwrite, DataSourceDefinition Definition, Property[] Properties, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("CreateDataSource", new object[] {
                                                                  DataSource,
                                                                  Parent,
                                                                  Overwrite,
                                                                  Definition,
                                                                  Properties}, callback, asyncState);
 }