What's New in DFS in Windows Server 2008

Windows Server 2008 includes the following new and updated programming elements for the Distributed File System (DFS).

New Enumerations

DFS_NAMESPACE_VERSION_ORIGIN

Identifies the origin of DFS namespace version information.

New Functions

NetDfsAddRootTarget

Creates a domain-based or stand-alone DFS namespace. If the namespace already exists, the function adds the specified root target to it.

NetDfsGetSupportedNamespaceVersion

Determines the version of the DFS namespace that can be created for a server or Active Directory Domain Services (AD DS) domain by using the NetDfsAddRootTarget function.

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.

New Structures

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_INFO_50

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

DFS_INFO_107

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

DFS_INFO_150

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

DFS_SUPPORTED_NAMESPACE_VERSION_INFO

Contains version information for a DFS namespace.