An NDoc Documented Class Library

ADLayer.ResolveNetBiosNameToDN Method 

Resolves a NetBIOS name (i.e. CONTOSO) to its distinguished name (i.e. DC=Contoso, DC=local)

[Visual Basic]
Public Function ResolveNetBiosNameToDN( _ 
   ByVal netbiosName As String _ 
) As String
[C#]
public string ResolveNetBiosNameToDN(
   string netbiosName
);
[C++]
public: String* ResolveNetBiosNameToDN(
   String* netbiosName
);
[JScript]
public function ResolveNetBiosNameToDN(
   String netbiosName
): String;

Parameters

netbiosName
The NetBios name to resolve

Return Value

The distinguished name of the Active Directory partition that corresponds to the specified NetBIOS name

Exceptions

Exception TypeCondition
ArgumentExceptionThrown, when the netbios cannot be resolved.

See Also

ADLayer Class | InfiniTec.ActiveDirectory Namespace