共用方式為


ForceDownload method of the DfsrConnectionInfo class

Forces a download of a specified resource. The connection and bandwidth are controlled by other methods. This method assumes that the connection is on. The unique ID of the resource to be downloaded can be obtained by querying the ID record as described in Getting the ID Record for a File or Folder.

Syntax

uint32 ForceDownload(
  [in] string ReplicatedFolderGuid,
  [in] string Uid
);

Parameters

ReplicatedFolderGuid [in]

The unique identifier of the replicated folder to force replication on.

Uid [in]

The unique ID of the resource to download.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
End of client support
Windows Vista
Namespace
Root\MicrosoftDfs
MOF
DfsRProvs.mof
DLL
DfsRWmiV2.dll

See also

DfsrConnectionInfo