MSiSCSI_QueryLBPolicy structure (iscsimgt.h)
This MSiSCSI_QueryLBPolicy method returns the MCS load balancing policy for each information if any that has been set across different iSCSI session.
Syntax
typedef struct _MSiSCSI_QueryLBPolicy {
ULONGLONG UniqueAdapterId;
ULONG Reserved;
ULONG SessionCount;
ISCSI_Supported_LB_Policies LoadBalancePolicies[1];
} MSiSCSI_QueryLBPolicy, *PMSiSCSI_QueryLBPolicy;
Members
UniqueAdapterId
This is a unique connection identifier that the initiator uses to identify a connection. The LoginToTarget and AddConnectionToSession methods both return this value in the UniqueConnectionId parameter.
Reserved
Reserved for Microsoft use only.
SessionCount
This specifies the number of active sessions for this adapter ID.
LoadBalancePolicies[1]
This is an enumeration that contains information required to set the load balance policy. For more information about how to set the load balance policy, see ISCSI_Supported_LB_Policies. There will be as many of these structures as the number of sessions available for this adapter.
Remarks
You must implement this class only if the adapter supports MCS. Otherwise, it is optional.
Requirements
Requirement | Value |
---|---|
Header | iscsimgt.h (include Iscsimgt.h) |