Autodesk Vault ProfessionalVault API

GetPersistableIds Method

Autodesk.DataManagement.Client.Framework.Vault.Services.ConnectionIEntityOperationManager

Gets a persistable id for each entity in entities. This persistable id is used to uniquely identify the entity and can be safely persisted.

Syntax

System.Collections.Generic.IDictionary<IEntity,string> GetPersistableIds(
   System.Collections.Generic.IEnumerable<IEntity> entities,
   System.bool getLatest
)
Function GetPersistableIds( _
   ByVal entities As System.Collections.Generic.IEnumerable(Of IEntity), _
   ByVal getLatest As System.Boolean _
) As System.Collections.Generic.IDictionary(Of IEntity,String)

Parameters

NameDescription
entitiesList of entities to retrieve persistable ids for
getLatestif true, always return a persistable id which, when used, will get the latest version of the entity

Remarks

The persistable ids returned by the VDF are not the same as persistent ids returned by the server.

See Also