ManagementPackFileStore.RemoveDirectory Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes a directory from the list of include directories (the list of directories to search when management pack references are loaded).
RemoveDirectory(DirectoryInfo) |
Removes a directory from the list of include directories (the list of directories to search when management pack references are loaded). |
RemoveDirectory(String) |
Removes a directory from the list of include directories (the list of directories to search when management pack references are loaded). |
Removes a directory from the list of include directories (the list of directories to search when management pack references are loaded).
public:
bool RemoveDirectory(System::IO::DirectoryInfo ^ directoryinfo);
public bool RemoveDirectory (System.IO.DirectoryInfo directoryinfo);
member this.RemoveDirectory : System.IO.DirectoryInfo -> bool
Public Function RemoveDirectory (directoryinfo As DirectoryInfo) As Boolean
Parameters
- directoryinfo
- DirectoryInfo
The directory to remove.
Returns
true
if the directory is removed, and false
if the directory is not removed.
Applies to
System Center SM SDK 2016 і System Center SM SDK 2012
Продукт | Версії |
---|---|
System Center SM SDK | 2012, 2016 |
Removes a directory from the list of include directories (the list of directories to search when management pack references are loaded).
public:
bool RemoveDirectory(System::String ^ directory);
public bool RemoveDirectory (string directory);
member this.RemoveDirectory : string -> bool
Public Function RemoveDirectory (directory As String) As Boolean
Parameters
- directory
- String
The directory to remove.
Returns
true
if the directory is removed, and false
if the directory is not removed.
Applies to
System Center SM SDK 2016 і System Center SM SDK 2012
Продукт | Версії |
---|---|
System Center SM SDK | 2012, 2016 |