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

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

DirectoryEntry.Guid プロパティ

DirectoryEntry の GUID取得します

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

解説解説
使用例使用例

DirectoryEntry クラスGuid プロパティNativeGuid プロパティの例を次に示します。この例は、ユーザー指定した DirectoryEntry取得し、その Guid プロパティNativeGuid プロパティ表示します

Dim myADSPath As [String] = "LDAP://onecity/CN=Users
,DC=onecity,DC=corp,DC=fabrikam,DC=com"
Dim myDirectoryEntry As New
 DirectoryEntry(myADSPath)

' Display the Guid and NativeGuid.
Console.WriteLine("The GUID of the ADS object:" +
 myDirectoryEntry.Guid.ToString)
Console.WriteLine("The Native GUID of the ADS" + "object:"
 + myDirectoryEntry.NativeGuid)
String myADSPath = "LDAP://onecity/CN=Users,DC=onecity,DC=corp
,DC=fabrikam,DC=com";
DirectoryEntry myDirectoryEntry=new DirectoryEntry(myADSPath);

// Display the Guid and NativeGuid.
Console.WriteLine("The GUID of the ADS object:"+
                  myDirectoryEntry.Guid);
Console.WriteLine("The Native GUID of the ADS"+
                  "object:"+myDirectoryEntry.NativeGuid);
String^ myADSPath = "LDAP://onecity/CN=Users,DC=onecity,DC=corp
,DC=fabrikam,DC=com";
DirectoryEntry^ myDirectoryEntry = gcnew DirectoryEntry(myADSPath);

// Display the Guid and NativeGuid.
Console::WriteLine("The GUID of the ADS object: {0}", myDirectoryEntry->Guid);
Console::WriteLine("The Native GUID of the ADS object: {0}",
                   myDirectoryEntry->NativeGuid);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS