다음을 통해 공유


IUIObjectMetadata.TryGetType 메서드

Returns an Entity Data Model (EDM) type object by using the specified type name and the namespace name from this item collection.

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

구문

‘선언
Function TryGetType ( _
    typeKey As String, _
    <OutAttribute> ByRef typeInfo As IUIObjectTypeInfo _
) As Boolean
‘사용 방법
Dim instance As IUIObjectMetadata 
Dim typeKey As String 
Dim typeInfo As IUIObjectTypeInfo 
Dim returnValue As Boolean 

returnValue = instance.TryGetType(typeKey, _
    typeInfo)
bool TryGetType(
    string typeKey,
    out IUIObjectTypeInfo typeInfo
)
bool TryGetType(
    String^ typeKey, 
    [OutAttribute] IUIObjectTypeInfo^% typeInfo
)
abstract TryGetType : 
        typeKey:string * 
        typeInfo:IUIObjectTypeInfo byref -> bool
function TryGetType(
    typeKey : String, 
    typeInfo : IUIObjectTypeInfo
) : boolean

매개 변수

반환 값

유형: System.Boolean
true if there is a type that matches the search criteria; otherwise, false.

참고 항목

참조

IUIObjectMetadata 인터페이스

Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer 네임스페이스