次の方法で共有


GetNetworkConstraint method of the MSFT_WvrAdminTasks class

Retrieves a replication network constraint for the partnership.

Syntax

uint32 GetNetworkConstraint(
  [in]  string                    SourceRGName,
  [in]  string                    SourceComputerName,
  [in]  string                    DestinationRGName,
  [in]  string                    DestinationComputerName,
  [out] MSFT_WvrNetworkConstraint Output[]
);

Parameters

SourceRGName [in]

The source RG name.

SourceComputerName [in]

The source computer name.

DestinationRGName [in]

The destination RG name.

DestinationComputerName [in]

The destination computer name.

Output [out]

ON success, returns a collection of MSFT_WvrNetworkConstraint.

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