ISCSI_LoginOptions WMI クラス
ISCSI_LoginOptions クラスは、ターゲット ログオン セッションの特性を記述します。 このクラスは、Common.mof で次のように定義されます。
class ISCSI_LoginOptions {
[WmiDataId(1),
description("Bit flags that specify which login
option values are specified") : amended,
ISCSI_LOGIN_OPTIONS_INFO_QUALIFIERS,
cpp_quote(ISCSI_LOGIN_OPTIONS_INFO_CPPQUOTE)]
ISCSI_LOGIN_OPTIONS_INFO_SPECIFIED
InformationSpecified;
[WmiDataId(2),
ValueMap{ ISCSI_DIGEST_TYPE_NONE,
ISCSI_DIGEST_TYPE_CRC32C },
Values{ "None", "CRC32C" },
description("cyclic integrity checksums that can
be negotiated for the header digests") : amended]
uint32 HeaderDigest;
[WmiDataId(3),
ValueMap{ ISCSI_DIGEST_TYPE_NONE,
ISCSI_DIGEST_TYPE_CRC32C },
Values{ "None", "CRC32C" },
description("cyclic integrity checksums that can
be negotiated for the header digests") : amended]
uint32 DataDigest;
[WmiDataId(4),
Description("Maximum number of connections, 0 implies
no limit") : amended]
uint32 MaximumConnections;
[WmiDataId(5),
Description("The initiator and target negotiate
the minimum time, in seconds, to wait before
attempting an explicit/implicit logout or active
task reassignment after an unexpected connection
termination or a connection reset.") : amended]
uint32 DefaultTime2Wait;
[WmiDataId(6),
Description(" The initiator and target negotiate the
maximum time, in seconds after an initial wait
(Time2Wait), before which an explicit/implicit
connection Logout or active task reassignment is still
possible after an unexpected connection termination or
a connection reset.") : amended]
uint32 DefaultTime2Retain;
[WmiDataId(7),
Description("Flags that affect how login occurs") :
amended, cpp_quote(ISCSI_LOGIN_FLAGS_CPPQUOTE),
ISCSI_LOGIN_FLAGS_QUALIFIERS]
ISCSI_LOGIN_FLAGS LoginFlags;
[WmiDataId(8),
Description("Authentication method specified for login")
: amended, ISCSI_AUTH_TYPES_QUALIFIERS]
ISCSI_AUTH_TYPES AuthType;
};
WMI ツール スイートが前述のクラス定義をコンパイルすると、ISCSI_LoginOptions データ構造体が生成されます。