Nevron .NET Vision Documentation
ChangeProtection Method


protection to set
whether the transaction should be rolled back, if some of the nodes permissions cannot be set
Changes the protection of all contained shapes
Syntax
'Declaration
 
Public Overridable Function ChangeProtection( _
   ByVal protection As NAbilities, _
   ByVal rollbackOnFail As System.Boolean _
) As NTransactionResult
'Usage
 
Dim instance As NBatchAction
Dim protection As NAbilities
Dim rollbackOnFail As System.Boolean
Dim value As NTransactionResult
 
value = instance.ChangeProtection(protection, rollbackOnFail)
public virtual NTransactionResult ChangeProtection( 
   NAbilities protection,
   System.bool rollbackOnFail
)

Parameters

protection
protection to set
rollbackOnFail
whether the transaction should be rolled back, if some of the nodes permissions cannot be set

Return Value

batch result
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NBatchAction Class
NBatchAction Members

Send Feedback