Renames the asset.

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

Syntax

C#
void RenameAssetEx(
	string oldUri,
	string newName,
	int userToken
)
Visual Basic (Declaration)
Sub RenameAssetEx ( _
	oldUri As String, _
	newName As String, _
	userToken As Integer _
)
Visual C++
void RenameAssetEx(
	String^ oldUri, 
	String^ newName, 
	int userToken
)

Parameters

oldUri
Type: System..::.String
Old URI.
newName
Type: System..::.String
Name of the new.
userToken
Type: System..::.Int32
The user token containing credential information.

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