Programming with Reflection

image\rwnprg32.gif LockProfile method

 

Syntax object.LockProfile AllowUnlock, [Password]

 

Description

Locks the current command profile, disallowing calls to SetCommandProfile and SetCommandGroupProfile.

Arguments

AllowUnlock Argument Type: Boolean
Required
Specifies whether a subsequent call to UnlockProfile is allowed. If True, the second argument (Password) is required. If False, the second argument is ignored.

Password Argument Type: String
Optional
Specifies a password. Must be supplied if AllowUnlock is True. The same password must be used in subsequent calls to UnlockProfile.

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command