Partager via


IDSRefProvider Interface

Builds DSRef trees.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Data.Interop
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

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

The IDSRefProvider type exposes the following members.

Methods

  Name Description
Public method Clear Resets a specified tree to an empty state.
Public method CreateFirstChildNode Adds an initial child node to a parent node.
Public method CreateNextSiblingNode Creates another sibling node to a child node.
Public method SetExtendedType Sets the extended type for a specified node.
Public method SetMoniker Sets the moniker of a specified node.
Public method SetName Sets the name of a specified node.
Public method SetOwner Sets the schema name for a specified node.
Public method SetProperty Sets the GUID and value of the catalog or database property for a specified node.
Public method SetType Sets the type of a node to specify the type of database object that the node references.

Top

Remarks

IDSRefProvider is implemented by DSRef providers to create their own implementation of DSRef trees. Users of the DSRef object provided by the database tools DLL do not need to implement the interface.

See Also

Reference

Microsoft.VisualStudio.Data.Interop Namespace

Other Resources

Data Designer Extensibility (DDEX) SDK