다음을 통해 공유


HttpClientConnection.OpenRead 메서드

Opens a readable stream for the data to be downloaded from the resource specified by the ServerURL property.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)

구문

‘선언
Public Function OpenRead As Stream
‘사용 방법
Dim instance As HttpClientConnection 
Dim returnValue As Stream 

returnValue = instance.OpenRead()
public Stream OpenRead()
public:
Stream^ OpenRead()
member OpenRead : unit -> Stream
public function OpenRead() : Stream

반환 값

유형: System.IO.Stream
A Stream used to read data from the resource.

The following code example creates an HttpClientConnection then calls OpenRead to pull the data into a stream.

Stream stream = null;
HttpClientConnection request = httpConn as HttpClientConnection;
stream = request.OpenRead();
Dim stream As Stream =  Nothing 
Dim request As HttpClientConnection =  httpConn as HttpClientConnection 
stream = request.OpenRead()

참고 항목

참조

HttpClientConnection 클래스

Microsoft.SqlServer.Dts.Runtime 네임스페이스