ManagementPackFileStore.RemoveDirectory Method

Definition

Removes a directory from the list of include directories (the list of directories to search when management pack references are loaded).

Overloads

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).

RemoveDirectory(DirectoryInfo)

Removes a directory from the list of include directories (the list of directories to search when management pack references are loaded).

C#
public bool RemoveDirectory (System.IO.DirectoryInfo directoryinfo);

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

RemoveDirectory(String)

Removes a directory from the list of include directories (the list of directories to search when management pack references are loaded).

C#
public bool RemoveDirectory (string directory);

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