all groups > sql server reporting services > june 2006 >
You're in the

sql server reporting services

group:

SOAP API - Execution Time of a report


SOAP API - Execution Time of a report EyalK
6/5/2006 4:15:25 AM
sql server reporting services: How could I get the execution time of the report through the SOAP API
for reporting services?

Any Ideas? is it possible?

Thanks,
Eyal
Re: SOAP API - Execution Time of a report bb
6/7/2006 8:25:08 AM
try
{
objData = res.Render(strFormat, DEFAULTDEVICEINFO, out
strExtension,
out strEncoding, out strMimeType, out
objWarnings, out strStreamIds);

execInfo = res.GetExecutionInfo();
string strExecutionDetails = String.Format("Execution
date and time: {0}",
execInfo.ExecutionDateTime);
}
catch (SoapException e)
{
string strErrorDetails = e.Detail.OuterXml;
}


this gets the executioninfo for the report..
ExecutionDateTime is the datetime the snapshot was created.

more details here ...

http://msdn2.microsoft.com/en-us/library/microsoft.wssux.reportingserviceswebservice.rsexecutionservice2005.executioninfo.executiondatetime.aspx





[quoted text, click to view]
Re: SOAP API - Execution Time of a report bb
6/7/2006 8:35:44 AM
try
{
objData = res.Render(strFormat, DEFAULTDEVICEINFO, out
strExtension,
out strEncoding, out strMimeType, out
objWarnings, out strStreamIds);

execInfo = res.GetExecutionInfo();
string strExecutionDetails = String.Format("Execution
date and time: {0}",
execInfo.ExecutionDateTime);
}
catch (SoapException e)
{
string strErrorDetails = e.Detail.OuterXml;
}


this gets the executioninfo for the report..
ExecutionDateTime is the datetime the snapshot was created.

more details here ...

http://msdn2.microsoft.com/en-us/library/microsoft.wssux.reportingserviceswebservice.rsexecutionservice2005.executioninfo.executiondatetime.aspx





[quoted text, click to view]
Re: SOAP API - Execution Time of a report bb
6/7/2006 8:36:18 AM
try
{
objData = res.Render(strFormat, DEFAULTDEVICEINFO, out
strExtension,
out strEncoding, out strMimeType, out
objWarnings, out strStreamIds);

execInfo = res.GetExecutionInfo();
string strExecutionDetails = String.Format("Execution
date and time: {0}",
execInfo.ExecutionDateTime);
}
catch (SoapException e)
{
string strErrorDetails = e.Detail.OuterXml;
}


this gets the executioninfo for the report..
ExecutionDateTime is the datetime the snapshot was created.

more details here ...

http://msdn2.microsoft.com/en-us/library/microsoft.wssux.reportingserviceswebservice.rsexecutionservice2005.executioninfo.executiondatetime.aspx





[quoted text, click to view]
AddThis Social Bookmark Button