SM_RemovePersistentBinding function

The SM_RemovePersistentBinding method removes one or more persistent bindings to the specified SCSI IDs for the specified adapter port.

Syntax

void SM_RemovePersistentBinding(
   [in, HBAType("HBA_WWN")] uint8                      HbaPortWWN[8],
   [in, HBAType("HBA_WWN")] uint8                      DomainPortWWN[8],
   [in] uint32                                         EntryCount,
   [in, WmiSizeIs("EntryCount")] MS_SMHBA_BINDINGENTRY Entry[],
   [out, HBA_STATUS_QUALIFIERS] HBA_STATUS             HBAStatus
);

Parameters

HbaPortWWN
A worldwide name (WWN) for the port whose persistent bindings will be removed.

DomainPortWWN
The worldwide name (WWN) for the callback. It is the Port_Identifier that has the smallest value of any Port_Identifier of an SMP port that was discovered by using the physical fibre channel port. It has a value of zero if no SMP port has been discovered by using the physical fibre channel port.

EntryCount
The number of binding entries that the WMI provider can report in the Entry parameter.

Entry
A list of MS_SMHBA_BINDINGENTRY types for persistent binding.

HBAStatus
The status of the operation. For a list of allowed values and their descriptions, see HBA_STATUS. The miniport driver returns this information in the HBAStatus member of a GetPersistentBinding_OUT structure.

Return value

Not applicable to WMI methods.

Remarks

This WMI method belongs to the MS_SM_TargetInformationMethods WMI Class.

Requirements

Target platform

Desktop

Header

Hbapiwmi.h

See also

HBA_STATUS

SM_RemovePersistentBinding_IN

SM_RemovePersistentBinding_OUT