次の方法で共有


MSFT_DFSNamespaceServerConfig class

Represents the configuration of a DFS namespace (DFS-N) server.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[dynamic, provider("dfsncimprov"), ClassVersion("1.0"), AMENDMENT]
class MSFT_DFSNamespaceServerConfig
{
  boolean EnableInsiteReferrals;
  boolean EnableSiteCostedReferrals;
  uint32  LdapTimeout;
  string  NamespaceServer;
  boolean PreferLogonDC;
  uint32  SyncInterval;
  boolean UseFullyQualifiedDomainNames;
};

Members

The MSFT_DFSNamespaceServerConfig class has these types of members:

Methods

The MSFT_DFSNamespaceServerConfig class has these methods.

Method Description
GetNamespaceServerConfig Retrieves the configuration of a DFS namespace (DFS-N) server.
SetNamespaceServerConfig Modifies the configuration of a DFS namespace (DFS-N) server.

Properties

The MSFT_DFSNamespaceServerConfig class has these properties.

EnableInsiteReferrals

Data type: boolean

Access type: Read-only

True if in-site referrals are enabled for the DFS-N server; otherwise, false. When this setting is enabled, the DFS-N server provides referrals that belong to the same site as the client. The default value is false.

EnableSiteCostedReferrals

Data type: boolean

Access type: Read-only

True if site-costed referrals are enabled for the DFS-N server; otherwise, false. The default value is false.

When site costing is enabled, SYSVOL and NETLOGON referrals sort domain controllers in the order of the the lowest cost. Domain controllers from the client's site are at the top of the referral list, followed by domain controllers from the server that are sorted by the lowest cost. When site costing is disabled, SYSVOL and NETLOGON referrals contain randomly ordered domain controllers from the client's site, followed by randomly ordered domain controllers from the server.

LdapTimeout

Data type: uint32

Access type: Read-only

Gets or sets the timeout interval, in seconds, to be enforced by the DFS-N server for Lightweight Directory Access Protocol (LDAP) calls. This property can be between 3 and 300 seconds, and the default value is 30 seconds.

NamespaceServer

Data type: string

Access type: Read-only

Qualifiers: key

Gets or sets the name of the DFS-N server for which to retrieve the configuration settings.

PreferLogonDC

Data type: boolean

Access type: Read-only

True if the logon server is placed at the top of the referral list; otherwise, false. The default value is false.

SyncInterval

Data type: uint32

Access type: Read-only

Gets or sets the interval time, in seconds, between attempts by domain-based root servers and domain controllers to poll the primary domain controller (PDC) emulator master to obtain the updated DFS metadata.

UseFullyQualifiedDomainNames

Data type: boolean

Access type: Read-only

True if the DFS-N server uses fully qualified domain names (FQDN) in referrals; false if the DFS-N server uses NetBIOS in referrals. The default value is false.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\dfsn
MOF
DfsNCimProv.mof
DLL
DfsNCimProv.dll