Click here to Skip to main content
15,881,882 members
Articles / Programming Languages / Visual Basic

Active Directory Object Navigator

Rate me:
Please Sign up or sign in to vote.
4.67/5 (21 votes)
25 Apr 20054 min read 263.7K   6.4K   108  
An article describing how to connect to an Active Directory database.
<html dir="LTR"><head><META http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"><title>OrganizationalUnitCollection.Add Method</title><xml></xml><link rel="stylesheet" type="text/css" href="MSDN.css"></head><body id="bodyID" class="dtBODY"><div id="nsbanner">Active Diretory Object Navigator</div><div id="nstext"><p> This method appends an item to the collection. </p><div class="syntax"><span class="lang">[Visual Basic]</span><br>Overridable Public Function Add( _<br>   ByVal <i>item</i> As <a href="BVA.ActiveDirectory.Navigator.Objects.OrganizationalUnit.html">OrganizationalUnit</a> _<br>) As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemInt32ClassTopic.htm">Integer</a></div><div class="syntax"><span class="lang">[C#]</span><br>public virtual <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemInt32ClassTopic.htm">int</a> Add(<br>   <a href="BVA.ActiveDirectory.Navigator.Objects.OrganizationalUnit.html">OrganizationalUnit</a> <i>item</i><br>);</div><h4 class="dtH4">Parameters</h4><dl><dt><i>item</i></dt><dd>Item to be appended.</dd></dl><h4 class="dtH4">Return Value</h4><p>Returns an integer that indicates if the item was successfully appended.</p><h4 class="dtH4">See Also</h4><p><a href="BVA.ActiveDirectory.Navigator.Objects.OrganizationalUnitCollection.html">OrganizationalUnitCollection Class</a> | <a href="BVA.ActiveDirectory.Navigator.Objects.html">BVA.ActiveDirectory.Navigator.Objects Namespace</a></p><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"><param name="Keyword" value="Add method"><param name="Keyword" value="Add method, OrganizationalUnitCollection class"><param name="Keyword" value="OrganizationalUnitCollection.Add method"></object><hr><div id="footer"><p><a href="mailto:bernardo@bancobva.com.br?subject=Active Directory Object Navigator Documentation Feedback: OrganizationalUnitCollection.Add%C2%A0Method%C2%A0">Send comments on this topic.</a></p>- Bernardo Heynemann (bernardo@bancobva.com.br) -</div></div></body></html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United Kingdom United Kingdom
Bernardo Heynemann is a senior developer at ThoughtWorks UK in London. He is really into Visual Studio 2008, LINQ and ASP.Net MVC. He's also chairman of Stormwind Project (http://www.stormwindproject.org). He can be found at his blog at http://blogs.manicprogrammer.com/heynemann.

Comments and Discussions