ReportingService2006.SetResourceContents 方法
Sets the contents of a resource.
命名空间: ReportService2006
程序集: ReportService2006(在 ReportService2006.dll 中)
语法
声明
Public Sub SetResourceContents ( _
Resource As String, _
Contents As Byte(), _
MimeType As String _
)
用法
Dim instance As ReportingService2006
Dim Resource As String
Dim Contents As Byte()
Dim MimeType As String
instance.SetResourceContents(Resource, _
Contents, MimeType)
public void SetResourceContents(
string Resource,
byte[] Contents,
string MimeType
)
public:
void SetResourceContents(
String^ Resource,
array<unsigned char>^ Contents,
String^ MimeType
)
member SetResourceContents :
Resource:string *
Contents:byte[] *
MimeType:string -> unit
public function SetResourceContents(
Resource : String,
Contents : byte[],
MimeType : String
)
参数
- Resource
类型:System.String
The fully qualified URL of the resource including the file name and extension.
- Contents
类型:array<System.Byte[]
The contents of a resource in the form of a byte array.
- MimeType
类型:System.String
Optional. The MIME type of the resource.
注释
The table below shows header and permissions information on this operation.
SOAP Headers |
(Out) ServerInfoHeaderValue |
Required Permissions |
A SOAP exception is thrown with the error code rsMissingParameter if the value of the Contents parameter is set to nullnull 引用(在 Visual Basic 中为 Nothing) (Nothing in Visual Basic).