Partager via


AddFile method of the BitsClientJob class

The AddFile method adds a file to an existing BITS transfer job.

Syntax

uint32 AddFile(
  [in] string remoteUrl,
  [in] string localFile
);

Parameters

remoteUrl [in]

Specifies the remote URL for the file transfer.

localFile [in]

Specifies the local file for the file transfer.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 R2
Redistributable
Windows Management Framework on Windows Server 2008 with SP2
Namespace
Root\microsoft\bits
MOF
BitsProvider.mof

See also

BitsClientJob