This function creates a stream on the virtual cluster. It will also assign the expiration time for the stream.

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

Syntax

C#
public void Create(
	CosmosUri stream,
	TimeSpan expirationTime
)
Visual Basic
Public Sub Create ( _
	stream As CosmosUri, _
	expirationTime As TimeSpan _
)
Visual C++
public:
void Create(
	CosmosUri^ stream, 
	TimeSpan expirationTime
)

Parameters

stream
Type: CosmosUri
complete path of the stream in vc:// or http:// format.
expirationTime
Type: TimeSpan
Time at which the stream should expire.

See Also