Partager via


ManagementPackFileStore.AddDirectory Method (String)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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

instance.AddDirectory(directory)

Syntax

'Declaration
Public Sub AddDirectory ( _
    directory As String _
)
public void AddDirectory (
    string directory
)
public:
void AddDirectory (
    String^ directory
)
public void AddDirectory (
    String directory
)
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 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