This function renames the given stream.

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

Syntax

C#
public void Rename(
	CosmosUri stream,
	CosmosUri newName
)
Visual Basic
Public Sub Rename ( _
	stream As CosmosUri, _
	newName As CosmosUri _
)
Visual C++
public:
void Rename(
	CosmosUri^ stream, 
	CosmosUri^ newName
)

Parameters

stream
Type: CosmosUri
The original name of the stream.
newName
Type: CosmosUri
The new name of the stream.

See Also