Fence method of the DfsrReplicatedFolderInfo class
Applies a fence to a specific file or directory.
Syntax
uint32 Fence( [in] uint8 Mode, [in] string FilePath, [in] boolean IsRecursive );
Parameters
- Mode [in]
-
Fencing mode. This parameter can be one of the following values.
- FilePath [in]
-
The full path to the fence.
- IsRecursive [in]
-
Indicates whether to apply the fence recursively to all children.
Return value
This method returns one of the MONITOR_STATUS return codes or one of the system error codes.
Requirements
|
Minimum supported client | Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 R2 [desktop apps only] |
|
End of client support | Windows Vista |
|
Namespace |
\\.\Root\MicrosoftDfs |
|
MOF |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012