ホーム › Storage.IscsiDisc › TARGET_INFORMATION_CLASS
TARGET_INFORMATION_CLASS
列挙型メンバー 8
| 名前 | 10進 | 16進 | 説明 | ||||
|---|---|---|---|---|---|---|---|
| ProtocolType | 0 | 0x0 | TARGETPROTOCOLTYPE 構造体の値で、イニシエーターがターゲットデバイスとの通信に使用するプロトコルを示します。 | ||||
| TargetAlias | 1 | 0x1 | ターゲットデバイスのエイリアスを含む null 終端文字列です。 | ||||
| DiscoveryMechanisms | 2 | 0x2 | 指定されたターゲットを検出した探索メカニズムを説明する null 終端文字列のリストです。リストは 2 つの null で終端されます。 | ||||
| PortalGroups | 3 | 0x3 | ターゲットに関連付けられたポータルグループ内のポータルの説明を含む ISCSI_TARGET_PORTAL_GROUP 構造体です。 | ||||
| PersistentTargetMappings | 4 | 0x4 | ターゲットに到達するために使用できる HBA およびバスに関する情報を含む ISCSI_TARGET_MAPPING 構造体の配列です。配列の前には、配列の要素数を含む ULONG 値が置かれます。各 ISCSI_TARGET_MAPPING 構造体は 4 バイト境界に配置されます。 | ||||
| InitiatorName | 5 | 0x5 | ターゲットに接続するイニシエーター HBA を含む null 終端文字列です。 | ||||
| TargetFlags | 6 | 0x6 | ターゲットに関連付けられたフラグです。次の表に、ターゲットに関連付けることができるフラグを示します。
| ||||
| LoginOptions | 7 | 0x7 | ログインデータを定義する ISCSI_LOGIN_OPTIONS 構造体の値です。 |
公式ドキュメント
TARGET_INFORMATION_CLASS 列挙型は、GetIScsiTargetInformation 関数が取得する、指定されたターゲットデバイスに関する情報を指定します。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum TARGET_INFORMATION_CLASS : int {
ProtocolType = 0,
TargetAlias = 1,
DiscoveryMechanisms = 2,
PortalGroups = 3,
PersistentTargetMappings = 4,
InitiatorName = 5,
TargetFlags = 6,
LoginOptions = 7
} TARGET_INFORMATION_CLASS;public enum TARGET_INFORMATION_CLASS : int
{
ProtocolType = 0,
TargetAlias = 1,
DiscoveryMechanisms = 2,
PortalGroups = 3,
PersistentTargetMappings = 4,
InitiatorName = 5,
TargetFlags = 6,
LoginOptions = 7,
}Public Enum TARGET_INFORMATION_CLASS As Integer
ProtocolType = 0
TargetAlias = 1
DiscoveryMechanisms = 2
PortalGroups = 3
PersistentTargetMappings = 4
InitiatorName = 5
TargetFlags = 6
LoginOptions = 7
End Enumimport enum
class TARGET_INFORMATION_CLASS(enum.IntEnum):
ProtocolType = 0
TargetAlias = 1
DiscoveryMechanisms = 2
PortalGroups = 3
PersistentTargetMappings = 4
InitiatorName = 5
TargetFlags = 6
LoginOptions = 7// TARGET_INFORMATION_CLASS
pub const ProtocolType: i32 = 0;
pub const TargetAlias: i32 = 1;
pub const DiscoveryMechanisms: i32 = 2;
pub const PortalGroups: i32 = 3;
pub const PersistentTargetMappings: i32 = 4;
pub const InitiatorName: i32 = 5;
pub const TargetFlags: i32 = 6;
pub const LoginOptions: i32 = 7;// TARGET_INFORMATION_CLASS
const (
ProtocolType int32 = 0
TargetAlias int32 = 1
DiscoveryMechanisms int32 = 2
PortalGroups int32 = 3
PersistentTargetMappings int32 = 4
InitiatorName int32 = 5
TargetFlags int32 = 6
LoginOptions int32 = 7
)const
ProtocolType = 0;
TargetAlias = 1;
DiscoveryMechanisms = 2;
PortalGroups = 3;
PersistentTargetMappings = 4;
InitiatorName = 5;
TargetFlags = 6;
LoginOptions = 7;// TARGET_INFORMATION_CLASS
pub const ProtocolType: i32 = 0;
pub const TargetAlias: i32 = 1;
pub const DiscoveryMechanisms: i32 = 2;
pub const PortalGroups: i32 = 3;
pub const PersistentTargetMappings: i32 = 4;
pub const InitiatorName: i32 = 5;
pub const TargetFlags: i32 = 6;
pub const LoginOptions: i32 = 7;const
ProtocolType* = 0
TargetAlias* = 1
DiscoveryMechanisms* = 2
PortalGroups* = 3
PersistentTargetMappings* = 4
InitiatorName* = 5
TargetFlags* = 6
LoginOptions* = 7enum TARGET_INFORMATION_CLASS : int {
ProtocolType = 0,
TargetAlias = 1,
DiscoveryMechanisms = 2,
PortalGroups = 3,
PersistentTargetMappings = 4,
InitiatorName = 5,
TargetFlags = 6,
LoginOptions = 7,
}#define global ProtocolType 0x0
#define global TargetAlias 0x1
#define global DiscoveryMechanisms 0x2
#define global PortalGroups 0x3
#define global PersistentTargetMappings 0x4
#define global InitiatorName 0x5
#define global TargetFlags 0x6
#define global LoginOptions 0x7