Adds a directory to 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

Visual Basic
Dim instance As ManagementPackFileStore
Dim directory As String

instance.AddDirectory(directory)

Syntax

Visual Basic
Public Sub AddDirectory ( _
		directory As String _
)
C#
public void AddDirectory (
		string directory
)
C++
public:
void AddDirectory (
		String^ directory
)
J#
public void AddDirectory (
		String directory
)
JScript
public function AddDirectory (
		directory : String
)

Parameters

directory

The directory to add to the list of include directories.

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