Share via


ReportingService2005.SetReportDefinition Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Sets the report definition for a specified report.

Syntax

'Declaration
Public Function SetReportDefinition ( _
    Report As String, _
    Definition As Byte() _
) As Warning()
public Warning[] SetReportDefinition (
    string Report,
    byte[] Definition
)
public:
array<Warning^>^ SetReportDefinition (
    String^ Report, 
    array<unsigned char>^ Definition
)
public Warning[] SetReportDefinition (
    String Report, 
    byte[] Definition
)
public function SetReportDefinition (
    Report : String, 
    Definition : byte[]
) : Warning[]

Parameters

  • Report
    The full path name of the report.
  • Definition
    The report definition to register.

Return Value

An array of Warning objects that describes warnings that occurred while the report definition was being validated.

Remarks

Changing the report definition for a report modifies the ModifiedBy, ModifiedDate, and Size properties of the report. The Description property is not affected. Execution settings and snapshots remain valid for the report.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

See Also

Reference

ReportingService2005 Class
ReportingService2005 Members
Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005 Namespace