This function checks if a given directory exists or not.

Namespace: Microsoft.Cosmos.Management
Assembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)

Syntax

C#
public bool DirectoryExists(
	CosmosUri directoryName
)
Visual Basic
Public Function DirectoryExists ( _
	directoryName As CosmosUri _
) As Boolean
Visual C++
public:
bool DirectoryExists(
	CosmosUri^ directoryName
)

Parameters

directoryName
Type: CosmosUri
Name of the directory in vc:// or http:// format

Return Value

Returns true if the directory exists and false if it does not

See Also