This function checks if a given stream exists or not. Using this function on stream sets results in undefined behavior; please use GetStreamSetInfo(CosmosUri, Boolean) or one of its overloads instead.

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

Syntax

C#
public bool StreamExists(
	CosmosUri streamName
)
Visual Basic
Public Function StreamExists ( _
	streamName As CosmosUri _
) As Boolean
Visual C++
public:
bool StreamExists(
	CosmosUri^ streamName
)

Parameters

streamName
Type: CosmosUri
Name of the stream in vc:// or http:// format

Return Value

Returns true if the stream exists and false if it does not

See Also