Report.GetResource 메서드

Used to retrieve auxiliary resources used during rendering; e.g., an XSLT used by the XML renderer.

네임스페이스:  Microsoft.ReportingServices.OnDemandReportRendering
어셈블리:  Microsoft.ReportingServices.ProcessingCore(Microsoft.ReportingServices.ProcessingCore.dll)

구문

‘선언
Public Function GetResource ( _
    resourcePath As String, _
    <OutAttribute> ByRef resource As Byte(), _
    <OutAttribute> ByRef mimeType As String _
) As Boolean
‘사용 방법
Dim instance As Report 
Dim resourcePath As String 
Dim resource As Byte()
Dim mimeType As String 
Dim returnValue As Boolean 

returnValue = instance.GetResource(resourcePath, _
    resource, mimeType)
public bool GetResource(
    string resourcePath,
    out byte[] resource,
    out string mimeType
)
public:
bool GetResource(
    String^ resourcePath, 
    [OutAttribute] array<unsigned char>^% resource, 
    [OutAttribute] String^% mimeType
)
member GetResource : 
        resourcePath:string * 
        resource:byte[] byref * 
        mimeType:string byref -> bool
public function GetResource(
    resourcePath : String, 
    resource : byte[], 
    mimeType : String
) : boolean

매개 변수

  • mimeType
    유형: System.String%
    [out] The MIME type of the resource data.

반환 값

유형: System.Boolean
true if the resource is successfully retrieved; otherwise, false.

참고 항목

참조

Report 클래스

Microsoft.ReportingServices.OnDemandReportRendering 네임스페이스