reference.cs
来自「< SQL Server2005程序设计>」· CS 代码 · 共 1,235 行 · 第 1/5 页
CS
1,235 行
}
private void OnLoadReportOperationCompleted(object arg) {
if ((this.LoadReportCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.LoadReportCompleted(this, new LoadReportCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeaderAttribute("ExecutionHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/Loa" +
"dReportDefinition", RequestNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("executionInfo")]
public ExecutionInfo LoadReportDefinition([System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] Definition, out Warning[] warnings) {
object[] results = this.Invoke("LoadReportDefinition", new object[] {
Definition});
warnings = ((Warning[])(results[1]));
return ((ExecutionInfo)(results[0]));
}
/// <remarks/>
public void LoadReportDefinitionAsync(byte[] Definition) {
this.LoadReportDefinitionAsync(Definition, null);
}
/// <remarks/>
public void LoadReportDefinitionAsync(byte[] Definition, object userState) {
if ((this.LoadReportDefinitionOperationCompleted == null)) {
this.LoadReportDefinitionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnLoadReportDefinitionOperationCompleted);
}
this.InvokeAsync("LoadReportDefinition", new object[] {
Definition}, this.LoadReportDefinitionOperationCompleted, userState);
}
private void OnLoadReportDefinitionOperationCompleted(object arg) {
if ((this.LoadReportDefinitionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.LoadReportDefinitionCompleted(this, new LoadReportDefinitionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeaderAttribute("ExecutionHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/Set" +
"ExecutionCredentials", RequestNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("executionInfo")]
public ExecutionInfo SetExecutionCredentials(DataSourceCredentials[] Credentials) {
object[] results = this.Invoke("SetExecutionCredentials", new object[] {
Credentials});
return ((ExecutionInfo)(results[0]));
}
/// <remarks/>
public void SetExecutionCredentialsAsync(DataSourceCredentials[] Credentials) {
this.SetExecutionCredentialsAsync(Credentials, null);
}
/// <remarks/>
public void SetExecutionCredentialsAsync(DataSourceCredentials[] Credentials, object userState) {
if ((this.SetExecutionCredentialsOperationCompleted == null)) {
this.SetExecutionCredentialsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetExecutionCredentialsOperationCompleted);
}
this.InvokeAsync("SetExecutionCredentials", new object[] {
Credentials}, this.SetExecutionCredentialsOperationCompleted, userState);
}
private void OnSetExecutionCredentialsOperationCompleted(object arg) {
if ((this.SetExecutionCredentialsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.SetExecutionCredentialsCompleted(this, new SetExecutionCredentialsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeaderAttribute("ExecutionHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/Set" +
"ExecutionParameters", RequestNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("executionInfo")]
public ExecutionInfo SetExecutionParameters(ParameterValue[] Parameters, string ParameterLanguage) {
object[] results = this.Invoke("SetExecutionParameters", new object[] {
Parameters,
ParameterLanguage});
return ((ExecutionInfo)(results[0]));
}
/// <remarks/>
public void SetExecutionParametersAsync(ParameterValue[] Parameters, string ParameterLanguage) {
this.SetExecutionParametersAsync(Parameters, ParameterLanguage, null);
}
/// <remarks/>
public void SetExecutionParametersAsync(ParameterValue[] Parameters, string ParameterLanguage, object userState) {
if ((this.SetExecutionParametersOperationCompleted == null)) {
this.SetExecutionParametersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetExecutionParametersOperationCompleted);
}
this.InvokeAsync("SetExecutionParameters", new object[] {
Parameters,
ParameterLanguage}, this.SetExecutionParametersOperationCompleted, userState);
}
private void OnSetExecutionParametersOperationCompleted(object arg) {
if ((this.SetExecutionParametersCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.SetExecutionParametersCompleted(this, new SetExecutionParametersCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeaderAttribute("ExecutionHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/Res" +
"etExecution", RequestNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("executionInfo")]
public ExecutionInfo ResetExecution() {
object[] results = this.Invoke("ResetExecution", new object[0]);
return ((ExecutionInfo)(results[0]));
}
/// <remarks/>
public void ResetExecutionAsync() {
this.ResetExecutionAsync(null);
}
/// <remarks/>
public void ResetExecutionAsync(object userState) {
if ((this.ResetExecutionOperationCompleted == null)) {
this.ResetExecutionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnResetExecutionOperationCompleted);
}
this.InvokeAsync("ResetExecution", new object[0], this.ResetExecutionOperationCompleted, userState);
}
private void OnResetExecutionOperationCompleted(object arg) {
if ((this.ResetExecutionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ResetExecutionCompleted(this, new ResetExecutionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeaderAttribute("ExecutionHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/Ren" +
"der", RequestNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("Result", DataType="base64Binary")]
public byte[] Render(string Format, string DeviceInfo, out string Extension, out string MimeType, out string Encoding, out Warning[] Warnings, out string[] StreamIds) {
object[] results = this.Invoke("Render", new object[] {
Format,
DeviceInfo});
Extension = ((string)(results[1]));
MimeType = ((string)(results[2]));
Encoding = ((string)(results[3]));
Warnings = ((Warning[])(results[4]));
StreamIds = ((string[])(results[5]));
return ((byte[])(results[0]));
}
/// <remarks/>
public void RenderAsync(string Format, string DeviceInfo) {
this.RenderAsync(Format, DeviceInfo, null);
}
/// <remarks/>
public void RenderAsync(string Format, string DeviceInfo, object userState) {
if ((this.RenderOperationCompleted == null)) {
this.RenderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRenderOperationCompleted);
}
this.InvokeAsync("Render", new object[] {
Format,
DeviceInfo}, this.RenderOperationCompleted, userState);
}
private void OnRenderOperationCompleted(object arg) {
if ((this.RenderCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.RenderCompleted(this, new RenderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeaderAttribute("ExecutionHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/Ren" +
"derStream", RequestNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("Result", DataType="base64Binary")]
public byte[] RenderStream(string Format, string StreamID, string DeviceInfo, out string Encoding, out string MimeType) {
object[] results = this.Invoke("RenderStream", new object[] {
Format,
StreamID,
DeviceInfo});
Encoding = ((string)(results[1]));
MimeType = ((string)(results[2]));
return ((byte[])(results[0]));
}
/// <remarks/>
public void RenderStreamAsync(string Format, string StreamID, string DeviceInfo) {
this.RenderStreamAsync(Format, StreamID, DeviceInfo, null);
}
/// <remarks/>
public void RenderStreamAsync(string Format, string StreamID, string DeviceInfo, object userState) {
if ((this.RenderStreamOperationCompleted == null)) {
this.RenderStreamOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRenderStreamOperationCompleted);
}
this.InvokeAsync("RenderStream", new object[] {
Format,
StreamID,
DeviceInfo}, this.RenderStreamOperationCompleted, userState);
}
private void OnRenderStreamOperationCompleted(object arg) {
if ((this.RenderStreamCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.RenderStreamCompleted(this, new RenderStreamCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeaderAttribute("ExecutionHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/Get" +
"ExecutionInfo", RequestNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", ResponseNamespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("executionInfo")]
public ExecutionInfo GetExecutionInfo() {
object[] results = this.Invoke("GetExecutionInfo", new object[0]);
return ((ExecutionInfo)(results[0]));
}
/// <remarks/>
public void GetExecutionInfoAsync() {
this.GetExecutionInfoAsync(null);
}
/// <remarks/>
public void GetExecutionInfoAsync(object userState) {
if ((this.GetExecutionInfoOperationCompleted == null)) {
this.GetExecutionInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetExecutionInfoOperationCompleted);
}
this.InvokeAsync("GetExecutionInfo", new object[0], this.GetExecutionInfoOperationCompleted, userState);
}
private void OnGetExecutionInfoOperationCompleted(object arg) {
if ((this.GetExecutionInfoCompleted != null)) {
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?