Partager via


BitsClientFile class

The BitsClientFile class provides information about a file for a BITS transfer job.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

class BitsClientFile
{
  string  RemoteUrl;
  string  LocalFile;
  uint64  BytesTotal;
  uint64  BytesTransferred;
  boolean Completed;
};

Members

The BitsClientFile class has these types of members:

Properties

The BitsClientFile class has these properties.

BytesTotal

Data type: uint64

Access type: Read-only

This property specifies the total number of bytes to transfer for the file.

BytesTransferred

Data type: uint64

Access type: Read-only

This property specifies the number of bytes that were transferred for the file.

Completed

Data type: boolean

Access type: Read-only

If TRUE, the file was transferred successfully.

LocalFile

Data type: string

Access type: Read-only

This property specifies the name of local file.

RemoteUrl

Data type: string

Access type: Read-only

This property defines the remote URL 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