Bewerken

Delen via


MSiSCSI_DiscoveryConfig structure (iscsicfg.h)

The MSiSCSI_DiscoveryConfig structure contains information that indicates what methods an initiator uses to do discovery.

Syntax

typedef struct _MSiSCSI_DiscoveryConfig {
  BOOLEAN          PerformiSNSDiscovery;
  BOOLEAN          PerformSLPDiscovery;
  BOOLEAN          AutomaticiSNSDiscovery;
  WCHAR            InitiatorName[256 + 1];
  ISCSI_IP_Address iSNSServer;
} MSiSCSI_DiscoveryConfig, *PMSiSCSI_DiscoveryConfig;

Members

PerformiSNSDiscovery

A Boolean value that indicates whether the initiator performs target discovery by using iSNS and a predetermined iSNS server. If this member is TRUE, the initiator performs target discovery by using iSNS and a predetermined iSNS server. If this member is FALSE, the initiator does not do discovery with iSNS.

PerformSLPDiscovery

A Boolean value that indicates whether the initiator performs target discovery by using SLP. If this member is TRUE, the initiator performs target discovery by using SLP.

AutomaticiSNSDiscovery

A Boolean value that indicates whether the initiator should automatically search for an iSNS server and then perform target discovery by using iSNS. If this member is TRUE, the initiator should automatically search for an iSNS server and then perform target discovery by using iSNS.

InitiatorName[256 + 1]

The default initiator name to register with the iSNS server.

iSNSServer

If AutomaticiSNSDiscovery is FALSE, iSNSServer contains a ISCSI_IP_Address structure that provides a fixed address of the iSNS server that is independent of the version of the IP protocol in use.

Remarks

The WMI tool suite automatically generates a declaration of the MSiSCSI_DiscoveryConfig structure when it compiles the MSiSCSI_DiscoveryConfig WMI Class in Config.mof.

Initiators are required to implement the MSiSCSI_DiscoveryConfig class. You must implement this class.

Requirements

Requirement Value
Header iscsicfg.h (include Iscsicfg.h)

See also

ISCSI_IP_Address

MSiSCSI_DiscoveryConfig WMI Class