Autodesk Vault ProfessionalVault API

GetFileRenameRestrictionsByMasterId Method

Autodesk.Connectivity.WebServicesDocumentService

Gets any rename restrictions on a file.

Required Permissions

FileRead

Syntax

public FileRenameRestric[] GetFileRenameRestrictionsByMasterId(
   System.long fileMasterId,
   System.string newFileName
)
Public Function GetFileRenameRestrictionsByMasterId( _
   ByVal fileMasterId As System.Long, _
   ByVal newFileName As System.String _
) As FileRenameRestric()

Parameters

NameDescription
fileMasterIdThe master ID of a Vault file
newFileNameThe new name for the file.

Return Value

An array of rename restrictions or null if there are no restrictions.

See Also