Share via


DSRefBuilder Class

Definition

Represents an implementation of the IDSRefBuilder interface driven by input parameters.

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

Name Description
DSRefBuilder()

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

Properties

Name Description
Connection

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

Site

Retrieves or sets the object site.

(Inherited from ObjectWithSite)

Methods

Name Description
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

Name Description
SiteChanged

Event that is raised when the Site property is changed.

(Inherited from ObjectWithSite)

Explicit Interface Implementations

Name Description
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