Groups | Blog | Home
all groups > sql server reporting services > september 2004 >

sql server reporting services : ReportingService.GetServerDateTime Missing???


Marten Engblom
9/8/2004 9:16:21 PM
It seems like the ReportingService.GetServerDateTime method is missing on
the webservice API, although it should be there according to the
documentation.

Any help appreciated!

Thanks,
Marten

Lev Semenets [MSFT]
9/8/2004 11:03:38 PM
This is documentation bug. There is no such method.

--
This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

Marten Engblom
9/9/2004 9:38:41 AM
Is there any other way of getting the time of the server, other than
deploying another custom webservice for it?

Thanks,
Marten

[quoted text, click to view]

Lev Semenets [MSFT]
9/9/2004 7:30:41 PM
You can publish report like this and render it to CSV
<?xml version="1.0" encoding="utf-8"?>

<Report
xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"
xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">

<RightMargin>1in</RightMargin>

<Body>

<ReportItems>

<Textbox Name="textbox1">

<CanGrow>true</CanGrow>

<Value>=DateTime.Now().ToString("yyyy-MM-dd hh:mm:ss")</Value>

</Textbox>

</ReportItems>

<Style />

<Height>0.25in</Height>

</Body>

<TopMargin>1in</TopMargin>

<Width>3.875in</Width>

<LeftMargin>1in</LeftMargin>

<BottomMargin>1in</BottomMargin>

<Language>en-US</Language>

</Report>


--
This posting is provided "AS IS" with no warranties, and confers no rights.

[quoted text, click to view]

AddThis Social Bookmark Button