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!

DirectoryEntry.Exists

Searches the directory store at the given path to see whether the entry exists and if it can be bound to.

[Visual Basic]
Public Shared Function Exists( _
   ByVal path As String _
) As Boolean
[C#]
public static bool Exists(
   string path
);
[C++]
public: static bool Exists(
   String* path
);
[JScript]
public static function Exists(
   path : String
) : Boolean;

Parameters

path
The path at which to search the directory store.

Return Value

true if the entry exists in the directory store at the specified path and it can be bound to; otherwise, false.

See Also

DirectoryEntry Class | DirectoryEntry Members | System.DirectoryServices Namespace