GetSupportedFeatures method of the MSFT_SMReplicationCapabilities class

Retrieves the supported features for the specified replication type.

Syntax

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

Parameters

ReplicationType [in]

Indicates the replication type for which to retrieve supported features.

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)

Features [out]

An array of indicators to the supported features for the replication type.

The possible values are:

Replication groups (2)

Multi-hop element replication (3)

Multi-hop elements must have same SyncType (4)

Multi-hop requires advance notice (5)

Requires full discovery of target ComputerSystem (6)

Service suspends source I/O when necessary (7)

Targets allocated from Any storage pool (8)

Targets allocated from Shared storage pool (9)

Targets allocated from Exclusive storage pool (10)

Targets allocated from Multiple storage pools (11)

Targets require reserved elements (12)

Target is associated to SynchronizationAspect (13)

Source is associated to SynchronizationAspect (14)

Error recovery from Broken state Automatic (15)

Target must remain associated to source (16)

Remote resource requires remote CIMOM (17)

Synchronized clone target detaches automatically (18)

Reverse Roles operation requires Read Only source (19)

Reverse Roles operation requires subsequent resync (20)

Restore operation requires subsequent fracture (21)

Resync operation requires subsequent activate (22)

Copy operation requires offline source (23)

Adjustable CopyPriority (24)

Source requires reserved element (25)

Supports undiscovered resources (26)

Restore operation requires subsequent detach (27)

Target element can be added to collections (28)

Reverse Roles operation requires Synchronized state (29)

Reverse Roles operation requires Fractured state (30)

Reverse Roles operation requires Split state (31)

Reverse Roles operation requires FailedOver state (32)

Reverse Roles operation requires Suspended state (33)

Provider can manage remote source (34)

Provider can manage remote target (35)

Supports temporary ReplicationEntity (36)

Supports persistent ReplicationEntity (37)

ReplicationEntity supports embedded instance (38)

TargetElement shall not be supplied (39)

TargetPool shall not be supplied (40)

TargetGoal shall not be supplied (41)

Provider can create remote elements (42)

Creating remote elements requires TargetPool (43)

Local targets allocated from sources resource pool (44)

Supports SynchronizationAspect (45)

Accepts foreign object paths (46)

Failover operation requires subsequent fracture (47)

Failover operation requires subsequent split (48)

Restore operation requires subsequent resume (49)

GetPeerSystems can return access points (50)

Client can supply target ElementName (51)

Reverse Roles operation does not change CopyState (52)

Failover operation requires subsequent failback (53)

Planned Failover operation requires fractured state (54)

Target element requires resource pool reserved for replication (55)

DMTF Reserved

56 32767

Vendor Specific

32768 ...

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