ホーム › Networking.ActiveDirectory › DS_NAME_ERROR
DS_NAME_ERROR
列挙型メンバー 8
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| DS_NAME_NO_ERROR | 0 | 0x0 | 変換に成功しました。 |
| DS_NAME_ERROR_RESOLVING | 1 | 0x1 | 一般的な処理エラーが発生しました。 |
| DS_NAME_ERROR_NOT_FOUND | 2 | 0x2 | 名前が見つからないか、呼び出し元にその名前へアクセスする権限がありません。 |
| DS_NAME_ERROR_NOT_UNIQUE | 3 | 0x3 | 入力された名前が複数の出力名にマップされているか、見つかったオブジェクトについて目的の形式で一意の値が 1 つに定まりませんでした。 |
| DS_NAME_ERROR_NO_MAPPING | 4 | 0x4 | 入力された名前は見つかりましたが、対応する出力形式が見つかりません。これは、オブジェクトに必要な属性がすべて備わっていない場合に発生することがあります。 |
| DS_NAME_ERROR_DOMAIN_ONLY | 5 | 0x5 | 名前全体を解決できませんでしたが、オブジェクトが存在するドメインは特定できました。呼び出し元は、指定されたドメインのドメイン コントローラーに対して呼び出しを再試行することが想定されます。名前全体は解決できませんが、オブジェクトが存在するドメインは特定できました。このエラーが指定された場合、DS_NAME_RESULT_ITEM の pDomain メンバーには有効なデータが格納されます。 |
| DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING | 6 | 0x6 | ネットワーク経由で送信することなく、クライアント上で構文的なマッピングを実行することはできません。 |
| DS_NAME_ERROR_TRUST_REFERRAL | 7 | 0x7 | 名前は外部の信頼されたフォレストのものです。 |
公式ドキュメント
DS_NAME_ERROR 列挙型は、DS_NAME_RESULT_ITEM 構造体の status メンバーによって返されるエラーを定義します。これらは、DsCrackNames 関数によって名前が変換される際に発生する可能性のあるエラーです。
出典・ライセンス: 上記「公式ドキュメント」の内容は 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 DS_NAME_ERROR : int {
DS_NAME_NO_ERROR = 0,
DS_NAME_ERROR_RESOLVING = 1,
DS_NAME_ERROR_NOT_FOUND = 2,
DS_NAME_ERROR_NOT_UNIQUE = 3,
DS_NAME_ERROR_NO_MAPPING = 4,
DS_NAME_ERROR_DOMAIN_ONLY = 5,
DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING = 6,
DS_NAME_ERROR_TRUST_REFERRAL = 7
} DS_NAME_ERROR;public enum DS_NAME_ERROR : int
{
DS_NAME_NO_ERROR = 0,
DS_NAME_ERROR_RESOLVING = 1,
DS_NAME_ERROR_NOT_FOUND = 2,
DS_NAME_ERROR_NOT_UNIQUE = 3,
DS_NAME_ERROR_NO_MAPPING = 4,
DS_NAME_ERROR_DOMAIN_ONLY = 5,
DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING = 6,
DS_NAME_ERROR_TRUST_REFERRAL = 7,
}Public Enum DS_NAME_ERROR As Integer
DS_NAME_NO_ERROR = 0
DS_NAME_ERROR_RESOLVING = 1
DS_NAME_ERROR_NOT_FOUND = 2
DS_NAME_ERROR_NOT_UNIQUE = 3
DS_NAME_ERROR_NO_MAPPING = 4
DS_NAME_ERROR_DOMAIN_ONLY = 5
DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING = 6
DS_NAME_ERROR_TRUST_REFERRAL = 7
End Enumimport enum
class DS_NAME_ERROR(enum.IntEnum):
DS_NAME_NO_ERROR = 0
DS_NAME_ERROR_RESOLVING = 1
DS_NAME_ERROR_NOT_FOUND = 2
DS_NAME_ERROR_NOT_UNIQUE = 3
DS_NAME_ERROR_NO_MAPPING = 4
DS_NAME_ERROR_DOMAIN_ONLY = 5
DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING = 6
DS_NAME_ERROR_TRUST_REFERRAL = 7// DS_NAME_ERROR
pub const DS_NAME_NO_ERROR: i32 = 0;
pub const DS_NAME_ERROR_RESOLVING: i32 = 1;
pub const DS_NAME_ERROR_NOT_FOUND: i32 = 2;
pub const DS_NAME_ERROR_NOT_UNIQUE: i32 = 3;
pub const DS_NAME_ERROR_NO_MAPPING: i32 = 4;
pub const DS_NAME_ERROR_DOMAIN_ONLY: i32 = 5;
pub const DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING: i32 = 6;
pub const DS_NAME_ERROR_TRUST_REFERRAL: i32 = 7;// DS_NAME_ERROR
const (
DS_NAME_NO_ERROR int32 = 0
DS_NAME_ERROR_RESOLVING int32 = 1
DS_NAME_ERROR_NOT_FOUND int32 = 2
DS_NAME_ERROR_NOT_UNIQUE int32 = 3
DS_NAME_ERROR_NO_MAPPING int32 = 4
DS_NAME_ERROR_DOMAIN_ONLY int32 = 5
DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING int32 = 6
DS_NAME_ERROR_TRUST_REFERRAL int32 = 7
)const
DS_NAME_NO_ERROR = 0;
DS_NAME_ERROR_RESOLVING = 1;
DS_NAME_ERROR_NOT_FOUND = 2;
DS_NAME_ERROR_NOT_UNIQUE = 3;
DS_NAME_ERROR_NO_MAPPING = 4;
DS_NAME_ERROR_DOMAIN_ONLY = 5;
DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING = 6;
DS_NAME_ERROR_TRUST_REFERRAL = 7;// DS_NAME_ERROR
pub const DS_NAME_NO_ERROR: i32 = 0;
pub const DS_NAME_ERROR_RESOLVING: i32 = 1;
pub const DS_NAME_ERROR_NOT_FOUND: i32 = 2;
pub const DS_NAME_ERROR_NOT_UNIQUE: i32 = 3;
pub const DS_NAME_ERROR_NO_MAPPING: i32 = 4;
pub const DS_NAME_ERROR_DOMAIN_ONLY: i32 = 5;
pub const DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING: i32 = 6;
pub const DS_NAME_ERROR_TRUST_REFERRAL: i32 = 7;const
DS_NAME_NO_ERROR* = 0
DS_NAME_ERROR_RESOLVING* = 1
DS_NAME_ERROR_NOT_FOUND* = 2
DS_NAME_ERROR_NOT_UNIQUE* = 3
DS_NAME_ERROR_NO_MAPPING* = 4
DS_NAME_ERROR_DOMAIN_ONLY* = 5
DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING* = 6
DS_NAME_ERROR_TRUST_REFERRAL* = 7enum DS_NAME_ERROR : int {
DS_NAME_NO_ERROR = 0,
DS_NAME_ERROR_RESOLVING = 1,
DS_NAME_ERROR_NOT_FOUND = 2,
DS_NAME_ERROR_NOT_UNIQUE = 3,
DS_NAME_ERROR_NO_MAPPING = 4,
DS_NAME_ERROR_DOMAIN_ONLY = 5,
DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING = 6,
DS_NAME_ERROR_TRUST_REFERRAL = 7,
}#define global DS_NAME_NO_ERROR 0x0
#define global DS_NAME_ERROR_RESOLVING 0x1
#define global DS_NAME_ERROR_NOT_FOUND 0x2
#define global DS_NAME_ERROR_NOT_UNIQUE 0x3
#define global DS_NAME_ERROR_NO_MAPPING 0x4
#define global DS_NAME_ERROR_DOMAIN_ONLY 0x5
#define global DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING 0x6
#define global DS_NAME_ERROR_TRUST_REFERRAL 0x7