BitsHelper.TransferFiles Method (IMessage, BitsJobType, BitsFileInfo[])

 

Transfers files by using BITS.

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

Syntax

public static bool TransferFiles(
    IMessage message,
    BitsJobType jobType,
    params BitsFileInfo[] filesToTransfer
)
public:
static bool TransferFiles(
    IMessage^ message,
    BitsJobType jobType,
    ... array<BitsFileInfo>^ filesToTransfer
)
Public Shared Function TransferFiles (
    message As IMessage,
    jobType As BitsJobType,
    ParamArray filesToTransfer As BitsFileInfo()
) As Boolean

Parameters

Return Value

Type: System.Boolean

True if successful, false if failure.

See Also

BitsHelper Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top