Classe WMI MSiSCSI_LB_Operations
La classe WMI MSiSCSI_LB_Operations contiene metodi per impostare e recuperare i criteri di bilanciamento del carico. Questa classe è definita come segue in Mgmt.mof.
class MSiSCSI_LB_Operations {
[key, read]
string InstanceName;
[read]
boolean Active;
//
// Method to set load balance policy for the iSCSI Initiator
//
[WmiMethodId(10),
Implemented,
Description("Sets Load Balance Policy for the iSCSI Initiator") : amended,
cpp_quote(
"//\n"
"// SetLoadBalancePolicy instructs the iSCSI Initiator what Load Balance\n"
"// policy to use.\n"
"//\n"
)
]
void SetLoadBalancePolicy(
[in,
Description("New Load Balance policy to be set")
] ISCSI_Supported_LB_Policies LoadBalancePolicies,
[out,
Description("Status of the operation")
] uint32 Status
);
};
Quando la suite di strumenti WMI compila la definizione di classe precedente, produce una delle strutture di dati MSiSCSI_LB_Operations .