Deletes the asset.
Namespace:
GrassValley.Mseries.MediaMgrAssembly: GrassValley.Mseries.MediaMgr (in GrassValley.Mseries.MediaMgr.dll) Version: 1.0.0.0
Syntax
C# |
---|
void DeleteAssetEx( string uri, int userToken ) |
Visual Basic (Declaration) |
---|
Sub DeleteAssetEx ( _ uri As String, _ userToken As Integer _ ) |
Visual C++ |
---|
void DeleteAssetEx( String^ uri, int userToken ) |
Parameters
- uri
- Type: System..::.String
URI.
- userToken
- Type: System..::.Int32
The user token containing credential information.
Remarks
Use this function to permanently delete the given asset. If this
asset had the last reference to one or more media files, then
those files will also be deleted (asynchronously). If the asset
is locked or in use, this call will fail.