다음을 통해 공유


ISqlActivationService.CreateInstance<T> 메서드

Creates an instance of the type designated by the specified generic type parameter.

네임스페이스:  Microsoft.SqlServer.Management
어셈블리:  SqlWorkbench.Interfaces(SqlWorkbench.Interfaces.dll)

구문

‘선언
Function CreateInstance(Of T) As T
‘사용 방법
Dim instance As ISqlActivationService 
Dim returnValue As T

returnValue = instance.CreateInstance()
T CreateInstance<T>()
generic<typename T>
T CreateInstance()
abstract CreateInstance : unit -> 'T 
JScript는 제네릭 형식 및 메서드를 지원하지 않습니다.

유형 매개 변수

  • T

반환 값

유형: T
The instance of the type.

참고 항목

참조

ISqlActivationService 인터페이스

CreateInstance 오버로드

Microsoft.SqlServer.Management 네임스페이스