Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
message
Type: Microsoft.ConfigurationManagement.Messaging.Framework.IMessageThe message.
jobType
Type: Microsoft.ConfigurationManagement.Messaging.Framework.Bits.BitsJobTypeThe job type.
filesToTransfer
Type: Microsoft.ConfigurationManagement.Messaging.Framework.Bits.BitsFileInfo[]The array of files to transfer.
Return Value
Type: System.Boolean
True if successful, false if failure.
See Also
BitsHelper Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top