ManagementPackFileStore.RemoveDirectory Method (DirectoryInfo)
Removes a directory from the list of include directories (the list of directories to search when management pack references are loaded).
Namespace: Microsoft.EnterpriseManagement.Configuration.IO
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
'Usage
Dim instance As ManagementPackFileStore
Dim directoryinfo As DirectoryInfo
Dim returnValue As Boolean
returnValue = instance.RemoveDirectory(directoryinfo)
Syntax
'Declaration
Public Function RemoveDirectory ( _
directoryinfo As DirectoryInfo _
) As Boolean
public bool RemoveDirectory (
DirectoryInfo directoryinfo
)
public:
bool RemoveDirectory (
DirectoryInfo^ directoryinfo
)
public boolean RemoveDirectory (
DirectoryInfo directoryinfo
)
public function RemoveDirectory (
directoryinfo : DirectoryInfo
) : boolean
Parameters
- directoryinfo
The directory to remove.
Return Value
true if the directory is removed, and 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 Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
ManagementPackFileStore Class
ManagementPackFileStore Members
Microsoft.EnterpriseManagement.Configuration.IO Namespace