SPWebPartConnection Members

Include Protected Members
Include Inherited Members

Provides an object that enables two Web Parts to form a connection.

The SPWebPartConnection type exposes the following members.

Constructors

  Name Description
Public method SPWebPartConnection Initializes an instance of the SPWebPartConnection class.

Top

Properties

  Name Description
Public property Consumer Gets a Web Part that is acting as the consumer in a connection.
Public property ConsumerConnectionPoint Gets the connection point for a control that is acting as a consumer in a connection.
Public property ConsumerConnectionPointID Gets or sets the ID of the object serving as the consumer connection point for that connection.
Public property ConsumerID Gets or sets the ID of the consumer Web Part for the connection.
Public property CrossPageConnectionID Gets or sets the ID of the Web Part acting as a consumer for that cross-page connection.
Public property CrossPageSchema Gets or sets the property descriptors for the properties used in the cross-page connection.
Public property ID Gets or sets the ID of the connection.
Public property IsActive Gets a value that indicates whether an SPWebPartConnection object is currently established and able to exchange data between its provider and consumer controls.
Public property IsEnabled Gets or sets a value that indicates whether the SPWebPartConnection is enabled.
Public property IsShared Gets a value that indicates whether an SPWebPartConnection object is visible to all users or only to the current user.
Public property IsStatic Gets a value that indicates whether an SPWebPartConnection object is declared in the markup of a Web page, or created programmatically.
Public property Provider Gets a Web Part control that acts as the provider in a Web Parts connection.
Public property ProviderConnectionPoint Gets the object that serves as a connection point for a Web Part control acting as a provider for a connection.
Public property ProviderConnectionPointID Gets or sets the property value on a connection that references the ID of the object serving as the provider connection point for that connection.
Public property ProviderID Gets or sets the property value on a connection that references the ID of the Web Part control acting as a provider for that connection.
Public property SourcePageUrl Gets or sets the URL of the consumer Web Part in a cross-page connection.
Public property SPTransformers Gets a collection of SPWebPartTransformerCollection objects used internally by the Web Part infrastructure.
Public property TargetPageUrl Gets or sets the URL of the provider Web Part in a cross-page connection.
Public property Transformer Gets a Web Part transformer that is used to transform data between two otherwise incompatible connection points in a Web Parts connection.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a short type name for the connection object. (Overrides Object.ToString().)

Top

See Also

Reference

SPWebPartConnection Class

Microsoft.SharePoint.WebPartPages Namespace