GetSupportedGroupCopyStates method of the MSFT_SMReplicationCapabilities class

Retrieves the supported replication group copy states for the specified replication type.

Syntax

uint32 GetSupportedGroupCopyStates(
  [in]            uint16                ReplicationType,
  [out]           uint16                SupportedCopyStates[],
  [in, optional]  String                username,
  [in, optional]  String                password,
  [out, optional] MSFT_SMExtendedStatus ExtendedStatus
);

Parameters

ReplicationType [in]

Indicates the replication type for which to retrieve group copy states.

The possible values are:

Synchronous Mirror Local (2)

Asynchronous Mirror Local (3)

Synchronous Mirror Remote (4)

Asynchronous Mirror Remote (5)

Synchronous Snapshot Local (6)

Asynchronous Snapshot Local (7)

Synchronous Snapshot Remote (8)

Asynchronous Snapshot Remote (9)

Synchronous Clone Local (10)

Asynchronous Clone Local (11)

Synchronous Clone Remote (12)

Asynchronous Clone Remote (13)

Synchronous TokenizedClone Local (14)

Asynchronous TokenizedClone Local (15)

Synchronous TokenizedClone Remote (16)

Asynchronous TokenizedClone Remote (17)

Adaptive Mirror Local (18)

Adaptive Mirror Remote (19)

Adaptive Snapshot Local (20)

Adaptive Snapshot Remote (21)

Adaptive Clone Local (22)

Adaptive Clone Remote (23)

Adaptive TokenizedClone Local (24)

Adaptive TokenizedClone Remote (25)

DMTF Reserved

26 32767

Vendor Specific (32768)

SupportedCopyStates [out]

An array that contains indicators of the supported group copy states for the replication type.

username [in, optional]

The username used to authenticate the SMI-S provider.

password [in, optional]

The password used to authenticate the SMI-S provider.

ExtendedStatus [out, optional]

When this method returns, this parameter contains a MSFT_SMExtendedStatus object that contains detailed status information about the results of this operation.

Return value

The possible return values are:

Success (0)

Not Supported (1)

Unknown (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

In Use (6)

DMTF Reserved (7 32767)

Vendor Specific (32768 ...)

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\Storage\SM
MOF
MsftStrgMan.mof
DLL
StorageService.dll

See also

MSFT_SMReplicationCapabilities