Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes members from the replication group.
Syntax
UInt32 RemoveMembers(
[in] MSFT_SMStorageObject REF STorageObjects[],
[in, optional] String username,
[in, optional] String password,
[out] MSFT_SMJob REF Job,
[out, optional] MSFT_SMExtendedStatus ExtendedStatus
);
Parameters
-
STorageObjects [in]
-
A reference to an array that contains the storage objects to remove from the replication group.
-
username [in, optional]
-
The username used to authenticate the SMI-S provider.
-
password [in, optional]
-
The password used to authenticate the SMI-S provider.
-
Job [out]
-
If this operation is asynchronous, when this method returns, this parameter contains a reference to the object that represents the job; otherwise this parameter is set to NULL.
-
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
Returns "0" on success, otherwise returns a WMI error code.
Requirements
| Minimum supported client |
None supported |
| Minimum supported server |
Windows Server 2016 |
| Namespace |
Root\Microsoft\Windows\Storage\SM |
| MOF |
|
| DLL |
|