System.DirectoryServices.Protocols 命名空間概觀

System.DirectoryServices.Protocols 命名空間提供以程式透過輕量型目錄存取協定 (LDAP) V3 與目錄服務標記語言 (DSML) V2 標準來存取和管理目錄服務。System.DirectoryServices.Protocols 提供 Managed LDAP 程式設計最大層級的控制及最高效能。使用 System.DirectoryServices.Protocols 命名空間撰寫的 LDAP 應用程式可以最少的變更來轉送到 DSML。

LDAP 是一種目錄服務通訊協定,在 TCP/IP 堆疊上方的層級執行。它所提供的機制可用來連線到、搜尋以及修改網際網路目錄。LDAP 目錄服務以用戶端伺服器模型為基礎。LDAP 的用途是啟用現有目錄的存取權。

DSML 是由 Organization for the Advancement of Structured Information Standards (OASIS) 所建立的標準。DSML V2 提供表示目錄查詢和更新的方法,以及這些操作的結果,例如 XML 文件。DSML V2 並非 DSML V1 的超集。System.DirectoryServices.Protocols 不支援 DSML V1。

除了概念性文件以外,MSDN Library 上的 System.DirectoryServices.Protocols (S.DS.P) 簡介白皮書 (本頁面可能為英文) 也說明了以 SDS.Protocols API 撰寫程式的概念、做法及方針。

適用情況

System.DirectoryServices.Protocols 命名空間可用於 Managed 程式碼開發專案需要 LDAP 通訊協定或 DSML 標記語言方法時。

開發人員讀者

System.DirectoryServices.Protocols 命名空間主要供熟悉使用 Visual Basic .NET 或 C# 執行 .NET Framework 程式設計的應用程式開發人員使用。建議開發人員也應熟悉或專精於目錄服務的程式設計。

執行階段需求

Windows 2000、Windows XP、Windows Server 2003、Windows Vista 和 Windows Server 2008 都支援 System.DirectoryServices.Protocols

請參閱

參考

System.DirectoryServices.Protocols

Send comments about this topic to Microsoft.

Copyright © 2008 by Microsoft Corporation.All rights reserved.