Quick List for Visual Basic .NET Code Examples

This topic contains links to all Visual Basic .NET code examples contained in the System.Directory Services Using guide.

Link Description
Adding directory objects Using the Add method to add child objects.
Binding Strings Using DirectoryEntry to bind to objects.
Binding using GUIDs Using the GUID to bind to objects.
Boolean property type Reading and setting a Boolean property using the Value property.
Constructed property Reading and writing constructed properties.
DirectorySearcher Example This short example shows how to set up a basic directory search.
DN with binary property type Reading and writing using ActiveDS.
Large integer property type Reading and writing large integers.
Moving objects Using the MoveTo method.
Navigating to the Child Object Using the Children property to bind to child objects.
Navigating to the Parent Object Using theParent property to bind to parent objects.
Octet string property type Reading and writing octet strings.
Properties: Reading properties on directory objects Using the Properties collection to read object properties.
Properties: Reading properties with multiple values Using the Values property to read property values.
Properties: Setting properties on directory objects Using the Setting properties with the Add method and Value property.
Properties: Setting properties with multiple values Using theAddRange, and Insert methods.
Property cache Using the RefreshCache method.
Renaming an Object Using the Rename method.
Searching: Referral chasing Using the ReferralChasing property.
Searching: Retrieving search results Using SearchResult and SearchResultCollection to retrieve search results.
Searching: Searching the directory Using DirectorySearcher with the FindAll method to search the directory.
Security descriptors Reading and writing a security descriptor using ActiveDS.
Strings Reading strings.
Verifying directory objects Using the Existsmethod to verify that a directory object exists in the directory.