[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Removes a directory from the list of include directories (the list of directories to search when loading management pack references). Namespace: Microsoft.EnterpriseManagement.Configuration.IO
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As ManagementPackFileStore
Dim directoryinfo As DirectoryInfo
Dim returnValue As Boolean

returnValue = instance.RemoveDirectory(directoryinfo)

Syntax

Visual Basic
Public Function RemoveDirectory ( _
		directoryinfo As DirectoryInfo _
) As Boolean
C#
public bool RemoveDirectory (
		DirectoryInfo directoryinfo
)
C++
public:
bool RemoveDirectory (
		DirectoryInfo^ directoryinfo
)
J#
public boolean RemoveDirectory (
		DirectoryInfo directoryinfo
)
JScript
public function RemoveDirectory (
		directoryinfo : DirectoryInfo
) : boolean

Parameters

directoryinfo

The directory to remove.

Return Value

Type: Boolean Returns true if the directory is removed, and returns false if the directory is not removed.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also