Export (0) Print
Expand All

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

class DfsrConnectionConfig : CIM_Setting
{
  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 ScheduleInUtc;
  uint8   Schedule[];
};

Members

The DfsrConnectionConfig class has these types of members:

Properties

The DfsrConnectionConfig class has these properties.

ConnectionDn
Data type: string
Access type: Read-only

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

ConnectionGuid
Data type: string
Access type: Read-only
Qualifiers: Key, MinLen (36) , MaxLen (36)

The unique connection identifier.

Enabled
Data type: boolean
Access type: Read-only

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

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

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: MinLen (36) , MaxLen (36)

The identifier of the local member in this connection.

PartnerDn
Data type: string
Access type: Read-only

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

PartnerDns
Data type: string
Access type: Read-only

The partner-qualified DNS name.

PartnerGuid
Data type: string
Access type: Read-only
Qualifiers: MinLen (36) , MaxLen (36)

The identifier of the partner object in this connection.

PartnerName
Data type: string
Access type: Read-only

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

RdcEnabled
Data type: boolean
Access type: Read-only

Indicates whether RDC is enabled on this connection.

RdcMinFileSizeInKb
Data type: uint32
Access type: Read-only

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

ReplicationGroupGuid
Data type: string
Access type: Read-only
Qualifiers: MinLen (36) , MaxLen (36)

The unique replication group identifier.

Schedule
Data type: uint8 array
Access type: Read-only

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.

ValueMeaning
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

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

Examples

The Get-DFSRBacklog PowerShell code sample on TechNet Gallery uses DfsrConnectionConfig to retrieve DFSR backlog for replication groups of the targeted server.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003 R2

End of client support

Windows Vista

Namespace

\\.\Root\MicrosoftDfs

MOF

DfsRProvs.mof

See also

DFSR WMI Classes

 

 

Show:
© 2014 Microsoft