IVMAccessRights::ExecuteAccess property
The ExecuteAccess property determines whether this entry controls execute access.
This property is read/write.
HRESULT put_ExecuteAccess(
[in] VARIANT_BOOL executeAccess
);
HRESULT get_ExecuteAccess(
[out] VARIANT_BOOL *executeAccess
);
VB |
---|
|
Contains vbTrue if the entry controls the ability to execute the protected object.
This property value is read/write.
Name | Meaning |
---|---|
|
The operation was successful. |
|
executeAccess was NULL. |
The following example prints the ExecuteAccess property of the access control entries from the security object protecting access to the COM interfaces and global settings.
Dim vsApp
Dim vsSecurity
Dim vsAccessRights
Dim arProperty
Set vsApp = WScript.CreateObject("VirtualServer.Application")
Set vsSecurity = vsApp.Security
Set vsAccessRights = vsSecurity.AccessRights
For Each arProperty In vsAccessRights
Wscript.Echo "Name: " & arProperty.Name
Wscript.Echo "Execute access: " & arProperty.ExecuteAccess
Wscript.Echo
Next
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|