ManagementConfigurationPath.FolderPath Property

Definition

Gets the folder configuration path.

public:
 property System::String ^ FolderPath { System::String ^ get(); };
public string FolderPath { get; }
member this.FolderPath : string
Public ReadOnly Property FolderPath As String

Property Value

The folder configuration path.

Examples

The following example adds details of the ManagementConfigurationPath object to a linked list.

public LinkedList<string> ConfigurationPath(IServiceProvider sp) {

    Connection con = (Connection)sp.GetService(typeof(Connection));
    LinkedList<string> llp = new LinkedList<string>();
    ManagementConfigurationPath mcp = con.ConfigurationPath;

    llp.AddLast("ApplicationPath: " + mcp.ApplicationPath);
    llp.AddLast("FolderPath: " + mcp.FolderPath);

    llp.AddLast("GetEffectiveConfigurationPath Application: " +
        mcp.GetEffectiveConfigurationPath(ManagementScope.Application));
    llp.AddLast("GetEffectiveConfigurationPath Server: " +
        mcp.GetEffectiveConfigurationPath(ManagementScope.Server));
    llp.AddLast("GetEffectiveConfigurationPath Site: " +
        mcp.GetEffectiveConfigurationPath(ManagementScope.Site));
    llp.AddLast("PathType: " + mcp.PathType.ToString());
    llp.AddLast("SiteName: " + mcp.SiteName);
    return llp;

}

Remarks

The folder configuration path is initialized in the CreateFolderConfigurationPath method.

Applies to