NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DirectoryEntryProperty.Value

Gets or sets the value of the property.

[Visual Basic]
Overridable Public Property Value As Object
[C#]
public object Value {virtual get; virtual set;}
[C++]
public: __property virtual Object* get_Value();
public: __property virtual void set_Value(Object*);
[JScript]
public function get Value() : Object;
public function set Value(Object);

Property Value

The value of the DirectoryEntryProperty. If the DirectoryEntryProperty has multiple values, the Value will be an array of the values.

Exceptions

Exception Type Condition
COMException The DirectoryEntryProperty does not have a value.

-or-

The value is not a valid type for the property. The associated error code is E_ADS_PROPERTY_INVALID.

See Also

DirectoryEntryProperty Class | DirectoryEntryProperty Members | System.DirectoryServices Namespace