共用方式為


ForceDownload method of the MSFT_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
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\Windows\Dfsr
MOF
Dfsrwmiv2.mof
DLL
DfsRWmiV2.dll

See also

MSFT_DfsrConnectionInfo