Autodesk Vault ProfessionalVault API

AddRestriction Method

Autodesk.Connectivity.WebServicesCheckoutFileCommandEventArgs

Adds a restriction, which blocks the command. This function should only be called during the GetRestrictions event.

Syntax

public void AddRestriction(
   ExtensionRestriction restriction
)
Public Sub AddRestriction( _
   ByVal restriction As ExtensionRestriction _
) 

Parameters

NameDescription
restrictionThe reason that the command cannot run.

See Also