Renames the asset.

Namespace:  GrassValley.Mseries.MediaMgr
Assembly:  GrassValley.Mseries.MediaMgr (in GrassValley.Mseries.MediaMgr.dll) Version: 1.0.0.0

Syntax

C#
void RenameAsset(
	string oldUri,
	string newName
)
Visual Basic (Declaration)
Sub RenameAsset ( _
	oldUri As String, _
	newName As String _
)
Visual C++
void RenameAsset(
	String^ oldUri, 
	String^ newName
)

Parameters

oldUri
Type: System..::.String
Old URI.
newName
Type: System..::.String
Name of the new.

Remarks

This function changes the name of the asset identified by oldUri. If the asset is locked or in use, this call will fail.

See Also