共用方式為


IDSRefProvider 介面

建置 DSRef 樹狀目錄。

此應用程式開發介面不符合 CLS 標準。 

命名空間:  Microsoft.VisualStudio.Data.Interop
組件:  Microsoft.VisualStudio.Data (在 Microsoft.VisualStudio.Data.dll 中)

語法

'宣告
<CLSCompliantAttribute(False)> _
<GuidAttribute("AB36DE41-2BF4-11CE-AB3C-00AA004404FB")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IDSRefProvider
[CLSCompliantAttribute(false)]
[GuidAttribute("AB36DE41-2BF4-11CE-AB3C-00AA004404FB")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IDSRefProvider
[CLSCompliantAttribute(false)]
[GuidAttribute(L"AB36DE41-2BF4-11CE-AB3C-00AA004404FB")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IDSRefProvider
[<CLSCompliantAttribute(false)>]
[<GuidAttribute("AB36DE41-2BF4-11CE-AB3C-00AA004404FB")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IDSRefProvider =  interface end
public interface IDSRefProvider

IDSRefProvider 類型會公開下列成員。

方法

  名稱 描述
公用方法 Clear 將指定的樹狀目錄為空白狀態。
公用方法 CreateFirstChildNode 若要將初始子節點加入父節點。
公用方法 CreateNextSiblingNode 建立另一個同層級節點的子節點。
公用方法 SetExtendedType 設定指定之節點的擴充的型別。
公用方法 SetMoniker 設定指定之節點的 Moniker。
公用方法 SetName 設定指定的節點名稱。
公用方法 SetOwner 將結構描述名稱所指定的節點。
公用方法 SetProperty 設定目錄或資料庫屬性的 GUID 和值所指定之節點的。
公用方法 SetType 將節點的型別指定節點參考資料庫物件的型別。

回頁首

備註

IDSRefProvider 由 DSRef 提供者實作建立它們 DSRef 樹狀目錄中的自訂實作。 資料庫工具 DLL 提供的 DSRef 物件的使用者不需要實作介面。

請參閱

參考

Microsoft.VisualStudio.Data.Interop 命名空間

其他資源

資料設計工具擴充性 (DDEX) SDK