You can use this method to access information about attributes for individual ADSI properties. GetPropertyAttribObj works in the following way:
Initializing:
PropAttObj = object.GetPropertyAttribObj(property)
Using:
RetBool = PropAttObj.Attribute
Attribute | Description |
Inherit | Specifies whether the property is inheritable. |
PartialPath | Indicates whether a partial path is present. |
Secure | Indicates whether the property is secure. |
Reference | Specifies if the property was received by a reference. |
Volatile | Indicates whether the property is volatile. |
IsInherited | Specifies whether the property is inherited. |
InsertPath | Indicates whether a string in a property contains a special insert value. |
AllAttributes | Contains all the attributes listed in this table in one Long. |
Unlike most other ADSI objects, the property attributes object does not support Get and Set methods. You must use the object.property syntax to access the individual attributes of the property attribute object.
Note If a call is made to AppCreate, object path information will be persisted, but you must call SetInfo before the given object is created. If SetInfo is not called, subsequent calls to the object created will fail.