共用方式為


MSFT_DfsrConnectionConfig class

This class provides the configuration settings for a replication group connection. Each connection links a local and remote member, establishing a partnership. Only the connections of the direct partners to the local member have instances of this class.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("DfsrWMIV2"), AMENDMENT]
class MSFT_DfsrConnectionConfig
{
  string  ConnectionGuid;
  string  ConnectionDn;
  string  MemberGuid;
  string  PartnerGuid;
  string  PartnerName;
  string  PartnerDn;
  string  PartnerDns;
  string  ReplicationGroupGuid;
  boolean Inbound;
  boolean Enabled;
  string  Keywords;
  boolean RdcEnabled;
  uint32  RdcMinFileSizeInKb;
  boolean RdcSimilarityDisabled;
  boolean ScheduleInUtc;
  uint8   Schedule[];
};

Members

The MSFT_DfsrConnectionConfig class has these types of members:

Properties

The MSFT_DfsrConnectionConfig class has these properties.

ConnectionDn

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Connection Distinguished Name")

The distinguished name of the corresponding ms-DFSR-Connection object in the Active Directory Domain Services.

ConnectionGuid

Data type: string

Access type: Read-only

Qualifiers: key, MaxLen (36), MinLen (36), DisplayName ("Connection GUID")

The unique connection identifier.

Enabled

Data type: boolean

Access type: Read-only

Qualifiers: DisplayName ("Enabled Connection")

Indicates whether the connection is disabled. If the connection is enabled, then DFSR will use it; otherwise, it is ignored.

Inbound

Data type: boolean

Access type: Read-only

Qualifiers: DisplayName ("Incoming Connection")

Indicates the direction of the connection between the local member and the partner; it can be inbound (from partner to member) or outbound (member to partner).

Keywords

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Keywords")

User-defined strings that are used by monitoring and configuration tools and for grouping or identification purposes.

MemberGuid

Data type: string

Access type: Read-only

Qualifiers: MaxLen (36), MinLen (36), DisplayName ("Member GUID")

The identifier of the local member in this connection.

PartnerDn

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Partner Distinguished Name")

The distinguished name of the corresponding ms-DFSR-Member object in the Active Directory Domain Services that represents the partner.

PartnerDns

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Partner DNS")

The partner-qualified DNS name.

PartnerGuid

Data type: string

Access type: Read-only

Qualifiers: MaxLen (36), MinLen (36), DisplayName ("Partner GUID")

The identifier of the partner object in this connection.

PartnerName

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Partner Name")

The partner name. This is typically the unqualified DNS name of the partner computer.

RdcEnabled

Data type: boolean

Access type: Read-only

Qualifiers: DisplayName ("RDC Enabled")

Indicates whether remote differential compression (RDC) is enabled on this connection.

RdcMinFileSizeInKb

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("RDC Minimum File Size in KB")

The RDC minimum file size, in kilobytes. RDC is applied only on files that are this size or larger.

RdcSimilarityDisabled

Data type: boolean

Access type: Read-only

Qualifiers: DisplayName ("Cross-File RDC Disabled")

Indicates whether cross-file remote differential compression (RDC) is disabled on this connection.

ReplicationGroupGuid

Data type: string

Access type: Read-only

Qualifiers: MaxLen (36), MinLen (36), DisplayName ("Replication Group GUID")

The unique replication group identifier.

Schedule

Data type: uint8 array

Access type: Read-only

Qualifiers: Octetstring, DisplayName ("Schedule")

The replication schedule for this connection.

The data is a series of 336 bytes: 2 bytes for each of the 24 hours per day, 7 days per week. The 2 bytes for each hour are divided into 4 groups of 4 bits. Each 4-bit group can be assigned one of the following values.

BANDWIDTH_LEVEL_OFF (0x0)

No replication.

BANDWIDTH_LEVEL_16_KBPS (0x1)

16 kilobits per second (Kbps).

BANDWIDTH_LEVEL_64_KBPS (0x2)

64 Kbps.

BANDWIDTH_LEVEL_128_KBPS (0x3)

128 Kbps.

BANDWIDTH_LEVEL_256_KBPS (0x4)

256 Kbps.

BANDWIDTH_LEVEL_512_KBPS (0x5)

512 Kbps.

BANDWIDTH_LEVEL_1_MBPS (0x6)

1 Mbps.

BANDWIDTH_LEVEL_2_MBPS (0x7)

2 Mbps.

BANDWIDTH_LEVEL_4_MBPS (0x8)

4 Mbps.

BANDWIDTH_LEVEL_8_MBPS (0x9)

8 Mbps.

BANDWIDTH_LEVEL_16_MBPS (0xA)

16 Mbps.

BANDWIDTH_LEVEL_32_MBPS (0xB)

32 Mbps.

BANDWIDTH_LEVEL_64_MBPS (0xC)

64 Mbps.

BANDWIDTH_LEVEL_128_MBPS (0xD)

128 Mbps.

BANDWIDTH_LEVEL_256_MBPS (0xE)

256 Mbps.

BANDWIDTH_LEVEL_INFINITE (0xF)

Full bandwidth (no throttling.)

ScheduleInUtc

Data type: boolean

Access type: Read-only

Qualifiers: DisplayName ("Schedule in UTC")

Indicates whether the schedule is to be interpreted as Coordinated Universal Time (UTC) (default) or local time.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\Windows\Dfsr
MOF
Dfsrwmiv2.mof
DLL
DfsRWmiV2.dll

See also

DFSR WMI Classes