ManagementPackFileStore.RemoveDirectory Method (String)
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.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
'Usage
Dim instance As ManagementPackFileStore
Dim directory As String
Dim returnValue As Boolean
returnValue = instance.RemoveDirectory(directory)
Syntax
'Declaration
Public Function RemoveDirectory ( _
directory As String _
) As Boolean
public bool RemoveDirectory (
string directory
)
public:
bool RemoveDirectory (
String^ directory
)
public boolean RemoveDirectory (
String directory
)
public function RemoveDirectory (
directory : String
) : boolean
Parameters
- directory
The directory to remove.
Return Value
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,Windows Vista,Windows XP
See Also
Reference
ManagementPackFileStore Class
ManagementPackFileStore Members
Microsoft.EnterpriseManagement.Configuration.IO Namespace