[This is preliminary documentation and subject to change]

GetPropertyAttribObj

You can use this method to access information about attributes for individual ADSI properties. GetPropertyAttribObj works in the following way:

Syntax

Initializing:

PropAttObj = object.GetPropertyAttribObj(property)

Using:

RetBool=PropAttObj.Attribute

 

Parts
PropAttObj
Reference to a PropertyAttribute object that returns the attributes of an IIS Admin Object's specified metabase property.
object
Contains an IIS Admin Object, usually as a result of a previous GetObject operation.
property
String that contains the name of the property attributes being requested.
RetBool
Boolean that indicates whether the attribute specified by Attribute is enabled or disabled.
Attribute
Indicates which attribute is being queried. The possible attributes are:
AttributeDescription
InheritSpecifies whether the property is inheritable.
PartialPathIndicates whether a partial path is present.
SecureIndicates whether the property is secure.
ReferenceSpecifies if the property was received by a reference.
VolatileIndicates whether the property is volatile.
IsInheritSpecifies whether the property is inherited.
InsertPathIndicates whether a string in a property contains a special insert value.
AllAttributesContains all the attributes listed in this table in one Long.

Remarks

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 Note    If a call is made to AppCreate or AppCreate2, 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.


© 1997-2001 Microsoft Corporation. All rights reserved.