IExtensibilityManager.RegisterExtension(Type, Object) Method

Definition

Registers an extension that is scoped to the current connection.

public:
 void RegisterExtension(Type ^ extensionType, System::Object ^ extension);
public void RegisterExtension (Type extensionType, object extension);
abstract member RegisterExtension : Type * obj -> unit
Public Sub RegisterExtension (extensionType As Type, extension As Object)

Parameters

extensionType
Type

The Type of the extension.

extension
Object

The target extension.

Remarks

The registered extension must implement the extensionType specified in the call.

Applies to