SearchResult.Path プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SearchResult.Path プロパティの意味・解説 

SearchResult.Path プロパティ

SearchResult のパス取得します

名前空間: System.DirectoryServices
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)
構文構文

解説解説

Path プロパティは、Active Directory 階層でこのエントリを一意識別します。このエントリは、常にこのパス使用して取得できます

使用例使用例

次の例は、SearchResult例の抜粋です。元の例は、目的パスを持つ新しい DirectoryEntry オブジェクト作成し、FindOne メソッド使用して検索実行します。この例では、検索実行した後、GetDirectoryEntry メソッド使用して検索結果示されるライブ ディレクトリ エントリを取得します

この例では、検索結果から Path プロパティ解析する方法示します

Dim mySearchResultPath As String
 = mySearchResult.Path
Console.WriteLine("The path for the 'mySearchResult'
 search result is : {0}" + _
                  ControlChars.Newline, mySearchResultPath)

string mySearchResultPath = mySearchResult.Path;
Console.WriteLine("The path for the 'mySearchResult'
 search "
                  + "result is : {0}\n", mySearchResultPath);
String^ mySearchResultPath = mySearchResult->Path;
Console::WriteLine("The path for the 'mySearchResult'
 search result is : {0}\n", mySearchResultPath);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

SearchResult.Path プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SearchResult.Path プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS