Renames the asset.

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

Syntax

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

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.

Implements

IMediaMgr2..::.RenameAssetEx(String, String, Int32)

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