Share via


ConfigMgrFileCollectionMessage.AddDirectoryFilesToCollection Method (String, String, 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
)
public:
void AddDirectoryFilesToCollection(
    String^ path,
    String^ searchPattern,
    bool recursive
)
Public Sub AddDirectoryFilesToCollection (
    path As String,
    searchPattern As String,
    recursive As Boolean
)

Parameters

See Also

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

Return to top