Share via


ISqlActivationService.CreateInstance<T> Method (String)

Indicates the type name of the instance to be created.

Namespace:  Microsoft.SqlServer.Management
Assembly:  SqlWorkbench.Interfaces (in SqlWorkbench.Interfaces.dll)

Syntax

'Declaration
Function CreateInstance(Of T) ( _
    typeName As String _
) As T
'Usage
Dim instance As ISqlActivationService
Dim typeName As String
Dim returnValue As T

returnValue = instance.CreateInstance(typeName)
T CreateInstance<T>(
    string typeName
)
generic<typename T>
T CreateInstance(
    String^ typeName
)
abstract CreateInstance : 
        typeName:string -> 'T 
JScript does not support generic types and methods.

Type Parameters

  • T

Parameters

  • typeName
    Type: System.String
    A string that represents the instance name.

Return Value

Type: T
The type name of the instance to be created.