InventoryInstanceElementFileSystemFile.GetDirectoryFileDetails Method (String, String, Boolean)

 

Gets details for all of the files in a directory.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Messages
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public static InventoryInstance[] GetDirectoryFileDetails(
    string directoryPath,
    string searchPattern,
    bool searchRecursively
)
public:
static array<InventoryInstance^>^ GetDirectoryFileDetails(
    String^ directoryPath,
    String^ searchPattern,
    bool searchRecursively
)
Public Shared Function GetDirectoryFileDetails (
    directoryPath As String,
    searchPattern As String,
    searchRecursively As Boolean
) As InventoryInstance()

Parameters

  • searchRecursively
    Type: System.Boolean

    If true, the search is recursive.

Return Value

Type: Microsoft.ConfigurationManagement.Messaging.Messages.InventoryInstance[]

See Also

GetDirectoryFileDetails Overload
InventoryInstanceElementFileSystemFile Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top