Share via


ConfigMgrFileCollectionMessage.AddDirectoryFilesToCollection Method (String, String, Boolean, Boolean)

 

Adds files to the collection.

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

Syntax

public void AddDirectoryFilesToCollection(
    string path,
    string searchPattern,
    bool recursive,
    bool ignoreHandledExceptions
)
public:
void AddDirectoryFilesToCollection(
    String^ path,
    String^ searchPattern,
    bool recursive,
    bool ignoreHandledExceptions
)
Public Sub AddDirectoryFilesToCollection (
    path As String,
    searchPattern As String,
    recursive As Boolean,
    ignoreHandledExceptions As Boolean
)

Parameters

  • ignoreHandledExceptions
    Type: System.Boolean

    If true, handled exceptions are ignored.

See Also

AddDirectoryFilesToCollection Overload
ConfigMgrFileCollectionMessage Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top