HttpClientConnection.OpenRead Method
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 (in microsoft.sqlserver.manageddts.dll)
Синтаксис
'Декларация
Public Function OpenRead As Stream
public Stream OpenRead ()
public:
Stream^ OpenRead ()
public Stream OpenRead ()
public function OpenRead () : 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()
Синхронизация потоков
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Платформы
Платформы разработки
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
Целевые платформы
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
См. также
Справочник
HttpClientConnection Class
HttpClientConnection Members
Microsoft.SqlServer.Dts.Runtime Namespace