Distributed File System

Overview of the Distributed File System technology.

To develop Distributed File System, you need these headers:

For programming guidance for this technology, see:

Enumerations

 
DFS_NAMESPACE_VERSION_ORIGIN

Identifies the origin of DFS namespace version information.

Functions

 
NetDfsAdd

Creates a new Distributed File System (DFS) link or adds targets to an existing link in a DFS namespace.
NetDfsAddFtRoot

Creates a new domain-based Distributed File System (DFS) namespace. If the namespace already exists, the function adds the specified root target to it.
NetDfsAddRootTarget

Creates a domain-based or stand-alone DFS namespace or adds a new root target to an existing domain-based namespace.
NetDfsAddStdRoot

Creates a new stand-alone Distributed File System (DFS) namespace.
NetDfsEnum

Enumerates the Distributed File System (DFS) namespaces hosted on a server or DFS links of a namespace hosted by a server.
NetDfsGetClientInfo

Retrieves information about a Distributed File System (DFS) root or link from the cache maintained by the DFS client.
NetDfsGetFtContainerSecurity

Retrieves the security descriptor of the container object for the domain-based DFS namespaces in the specified Active Directory domain.
NetDfsGetInfo

Retrieves information about a specified Distributed File System (DFS) root or link in a DFS namespace.
NetDfsGetSecurity

Retrieves the security descriptor for the root object of the specified DFS namespace.
NetDfsGetStdContainerSecurity

Retrieves the security descriptor for the container object of the specified stand-alone DFS namespace.
NetDfsGetSupportedNamespaceVersion

Determines the supported metadata version number.
NetDfsMove

Renames or moves a DFS link.
NetDfsRemove

Removes a Distributed File System (DFS) link or a specific link target of a DFS link in a DFS namespace. When removing a specific link target, the link itself is removed if the last link target of the link is removed.
NetDfsRemoveFtRoot

Removes the specified root target from a domain-based Distributed File System (DFS) namespace.
NetDfsRemoveFtRootForced

Removes the specified root target from a domain-based Distributed File System (DFS) namespace, even if the root target server is offline.
NetDfsRemoveRootTarget

Removes a DFS root target from a domain-based DFS namespace. If the root target is the last root target in the DFS namespace, this function removes the DFS namespace. This function can also be used to remove a stand-alone DFS namespace.
NetDfsRemoveStdRoot

Deletes a stand-alone Distributed File System (DFS) namespace.
NetDfsSetClientInfo

Modifies information about a Distributed File System (DFS) root or link in the cache maintained by the DFS client.
NetDfsSetFtContainerSecurity

Sets the security descriptor of the container object for the domain-based DFS namespaces in the specified Active Directory domain.
NetDfsSetInfo

Sets or modifies information about a specific Distributed File System (DFS) root, root target, link, or link target.
NetDfsSetSecurity

Sets the security descriptor for the root object of the specified DFS namespace.
NetDfsSetStdContainerSecurity

Sets the security descriptor for the container object of the specified stand-alone DFS namespace.

Structures

 
DFS_GET_PKT_ENTRY_STATE_ARG

Input buffer used with the FSCTL_DFS_GET_PKT_ENTRY_STATE control code.
DFS_INFO_1

Contains the name of a Distributed File System (DFS) root or link.
DFS_INFO_100

Contains a comment associated with a Distributed File System (DFS) root or link.
DFS_INFO_101

Describes the state of storage on a DFS root, link, root target, or link target.
DFS_INFO_102

Contains a time-out value to associate with a Distributed File System (DFS) root or a link in a named DFS root.
DFS_INFO_103

Contains properties that set specific behaviors for a DFS root or link.
DFS_INFO_104

Contains the priority of a DFS root target or link target.
DFS_INFO_105

Contains information about a DFS root or link, including comment, state, time-out, and DFS behaviors specified by property flags.
DFS_INFO_106

Contains the storage state and priority for a DFS root target or link target. This structure is only for use with the NetDfsSetInfo function.
DFS_INFO_107

Contains information about a DFS root or link, including the comment, state, time-out, property flags, and link reparse point security descriptor.
DFS_INFO_150

Contains the security descriptor for a DFS link's reparse point.
DFS_INFO_2

Contains information about a Distributed File System (DFS) root or link. This structure contains the name, status, and number of DFS targets for the root or link.
DFS_INFO_200

Contains the name of a domain-based Distributed File System (DFS) namespace.
DFS_INFO_3

Contains information about a Distributed File System (DFS) root or link. This structure contains the name, status, number of DFS targets, and information about each target of the root or link.
DFS_INFO_300

Contains the name and type (domain-based or stand-alone) of a DFS namespace.
DFS_INFO_4

Contains information about a Distributed File System (DFS) root or link. This structure contains the name, status, GUID, time-out, number of targets, and information about each target of the root or link.
DFS_INFO_5

Contains information about a Distributed File System (DFS) root or link. This structure contains the name, status, GUID, time-out, namespace/root/link properties, metadata size, and number of targets for the root or link.
DFS_INFO_50

Contains the DFS metadata version and capabilities of an existing DFS namespace.
DFS_INFO_6

Contains information about a Distributed File System (DFS) root or link. This structure contains the name, status, GUID, time-out, namespace/root/link properties, metadata size, number of targets, and information about each target of the root or link.
DFS_INFO_7

Contains information about a DFS namespace. This structure contains the version GUID for the metadata for the namespace.
DFS_INFO_8

Contains the name, status, GUID, time-out, property flags, metadata size, DFS target information, and link reparse point security descriptor for a root or link.
DFS_INFO_9

Contains the name, status, GUID, time-out, property flags, metadata size, DFS target information, link reparse point security descriptor, and a list of DFS targets for a root or link.
DFS_STORAGE_INFO

Contains information about a DFS root or link target in a DFS namespace or from the cache maintained by the DFS client.
DFS_STORAGE_INFO_1

Contains information about a DFS target, including the DFS target server name and share name as well as the target's state and priority.
DFS_SUPPORTED_NAMESPACE_VERSION_INFO

Contains version information for a DFS namespace.
DFS_TARGET_PRIORITY

Contains the priority class and rank of a specific DFS target.