共用方式為


CheckConnectivity method of the DfsrConnectionInfo class

Checks connectivity with the partner's computer.

Syntax

uint32 CheckConnectivity();

Parameters

This method has no parameters.

Return value

This method returns one of the MONITOR_STATUS return codes or one of the system error codes.

Remarks

This method is meaningful only for inbound connections. It always fails with an error on outbound connections.

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