Partager via


WvrSetNetworkConstraint method of the MSFT_WvrAdminTasks class

Performs a CIM call to set a new Network Constraint for a partnership.

Syntax

uint32 WvrSetNetworkConstraint(
  [in] string ReplicationGroupName,
  [in] string PartnerReplicationGroupName,
  [in] string NWInterfaceIndex[]
);

Parameters

ReplicationGroupName [in]

The replication group name.

PartnerReplicationGroupName [in]

The partner replication group name.

NWInterfaceIndex [in]

The NW interface index.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\StorageReplica
MOF
Wvrcimprov.mof
DLL
Wvrcimprov.dll

See also

MSFT_WvrAdminTasks