다음을 통해 공유


StreamURL 메서드

이 스트림을 검색하는 데 필요한 URL을 반환합니다. CreateAndRegisterStream 대리자 함수와 함께 작동합니다.

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

구문

‘선언
Public Function StreamURL ( _
    useSessionId As Boolean, _
    streamName As String _
) As String
‘사용 방법
Dim instance As Report
Dim useSessionId As Boolean
Dim streamName As String
Dim returnValue As String

returnValue = instance.StreamURL(useSessionId, _
    streamName)
public string StreamURL(
    bool useSessionId,
    string streamName
)
public:
String^ StreamURL(
    bool useSessionId, 
    String^ streamName
)
member StreamURL : 
        useSessionId:bool * 
        streamName:string -> string 
public function StreamURL(
    useSessionId : boolean, 
    streamName : String
) : String

매개 변수

  • useSessionId
    유형: System. . :: . .Boolean
    세션 ID를 사용할지 여부를 나타냅니다. true이면 세션 ID가 사용됩니다.

반환 값

유형: System. . :: . .String
이 스트림을 검색하는 데 필요한 URL을 포함하는 String 값입니다.

주의

The CreateAndRegisterStream delegate function is called by the rendering extension to get the stream to render to. The main body of the report must be the first stream created. To refer to this stream in another stream, use the StreamURL method, concatenated with the name, a period, and the extension. For example, if the StreamURL is XYZ_files and this is stream ABC, and it is a JPEG file type, the stream can be referred to using XYZ_Files/ABC.jpg.

If the rendering extension calls the callback CreateAndRegisterStream to create a stream that it will access using the URL returned by the StreamURL method, both methods must use the same stream name.