ISqlActivationService.CreateInstance<T> Method
Creates an instance of the type designated by the specified generic type parameter.
Namespace: Microsoft.SqlServer.Management
Assembly: SqlWorkbench.Interfaces (in SqlWorkbench.Interfaces.dll)
Syntax
'Declaration
Function CreateInstance(Of T) As T
'Usage
Dim instance As ISqlActivationService
Dim returnValue As T
returnValue = instance.CreateInstance()
T CreateInstance<T>()
generic<typename T>
T CreateInstance()
abstract CreateInstance : unit -> 'T
JScript does not support generic types and methods.
Type Parameters
- T
Return Value
Type: T
The instance of the type.