Instantiate Method
Instantiate the extension. If there is an ExtensionProxyAttribute defined on this extensibility point, then the extension will be wrapped in the proxy instance. If there is any named configuration for this extension, the named configuration will be passed into the extension instance's SetConfiguration method. If the extension inherits from IReferencesExtensionManager, the ExtensionManager reference will be passed to this extension instance. If failed to instantiate the extension, InvalidExtensionException will be thrown. If failed to instantiate the extension proxy, InvalidProxyException will be thrown.
Namespace: Microsoft.Data.Tools.Schema.Extensibility
Assembly: Microsoft.Data.Tools.Schema.Sql (in Microsoft.Data.Tools.Schema.Sql.dll)
Syntax
'Declaration
Public Function Instantiate As TInterfaceType
'Usage
Dim instance As ExtensionHandle
Dim returnValue As TInterfaceType
returnValue = instance.Instantiate()
public TInterfaceType Instantiate()
public:
TInterfaceType Instantiate()
member Instantiate : unit -> 'TInterfaceType
public function Instantiate() : TInterfaceType
Return Value
Type: TInterfaceType