Gets the StreamInfo for a stream.

Namespace: Microsoft.Cosmos.Management
Assembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)

Syntax

C#
public StreamInfo GetStreamInfo(
	CosmosUri stream,
	bool compression,
	bool allowIncompleteStream
)
Visual Basic
Public Function GetStreamInfo ( _
	stream As CosmosUri, _
	compression As Boolean, _
	allowIncompleteStream As Boolean _
) As StreamInfo
Visual C++
public:
StreamInfo^ GetStreamInfo(
	CosmosUri^ stream, 
	bool compression, 
	bool allowIncompleteStream
)

Parameters

stream
Type: CosmosUri
The stream for which the StreamInfo is required.
compression
Type: Boolean
Whether compression should be used while communicating with the VC.
allowIncompleteStream
Type: Boolean
Allow incomplete streams to be returned. If this is set to false and the stream is incomplete, the function will throw a VcClientException. A stream is considered incomplete if it is pending geo-replication or cross volume copy is in progress.

Return Value

StreamInfo object containing the information about the stream.

See Also