IUIObjectMetadata.TryGetType(String, IUIObjectTypeInfo) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne un objet de type EDM (Entity Data Model) en utilisant le nom de type spécifié et le nom d'espace de noms de cette collection d'éléments.
public:
bool TryGetType(System::String ^ typeKey, [Runtime::InteropServices::Out] Microsoft::SqlServer::Management::UI::VSIntegration::ObjectExplorer::IUIObjectTypeInfo ^ % typeInfo);
public bool TryGetType (string typeKey, out Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.IUIObjectTypeInfo typeInfo);
abstract member TryGetType : string * IUIObjectTypeInfo -> bool
Public Function TryGetType (typeKey As String, ByRef typeInfo As IUIObjectTypeInfo) As Boolean
Paramètres
- typeKey
- String
Clé utilisée dans le type.
- typeInfo
- IUIObjectTypeInfo
Informations sur le type.
Retours
true s'il existe un type correspondant aux critères de recherche ; sinon, false.