Export (0) Print
Expand All
Expand Minimize

SetResourceContents Method

SQL Server 2000

ReportingService.SetResourceContents Method

Sets the contents of a resource.

Public Function SetResourceContents( _
   ByVal Resource As String _
   ByVal Contents() As Byte _
   ByVal MimeType As String _
) As Byte()
   Member of [Namespace].ReportingService

public Byte[] SetResourceContents(
   string Resource,
   Byte[] Contents,
   string MimeType
   Member of [Namespace].ReportingService
The full path name of the resource.
The contents of a resource in the form of a byte array.
Optional. The MIME type of the resource. This is returned through an out parameter.

Operation Description
Read Content Required for reading the contents of a resource.


A SOAP exception is thrown with the error code rsMissingParameter if the value of the Contents parameter is set to null (Nothing in Visual Basic).

The report server does not validate the value of the MimeType parameter.

See Also

ReportingService Class

Reporting Services Web Service Library

© 2015 Microsoft