DSRefBuilder Class

Definition

Allows you to create a Data Source Reference (DSRef) object that identifies a data object.

public ref class DSRefBuilder : Microsoft::VisualStudio::Data::ObjectWithSite
[System.Runtime.InteropServices.Guid("D42D21CE-A94A-47f2-A2DA-ACE133020BCD")]
public class DSRefBuilder : Microsoft.VisualStudio.Data.ObjectWithSite
[<System.Runtime.InteropServices.Guid("D42D21CE-A94A-47f2-A2DA-ACE133020BCD")>]
type DSRefBuilder = class
    inherit ObjectWithSite
Public Class DSRefBuilder
Inherits ObjectWithSite
Inheritance
DSRefBuilder
Attributes

Constructors

DSRefBuilder()

Class constructor constructor. Initializes a new instance of the DSRefBuilder class.

Properties

Connection

Retrieves a data-source connection as a DataConnection object instance.

Site

Retrieves or sets the object site.

(Inherited from ObjectWithSite)

Methods

AppendToDSRef(Object, String, Object[], Object[])

Appends information about a data object with the specified type and identifier to a specified existing DSRef object.

BuildDSRef(String, Object[], Object[])

Builds a DSRef object that identifies a data object with the specified type and identifier.

OnSiteChanged(EventArgs)

Raises the SiteChanged event.

(Inherited from ObjectWithSite)

Events

SiteChanged

Event that is raised when the Site property is changed.

(Inherited from ObjectWithSite)

Explicit Interface Implementations

IObjectWithSite.GetSite(Guid, IntPtr)

Retrieves the last site set using the IObjectWithSite.SetSite(Object) method. In cases where there is no known site, the object returns an exception.

(Inherited from ObjectWithSite)
IObjectWithSite.SetSite(Object)

Provides the site's pointer to the site object.

(Inherited from ObjectWithSite)

Applies to