Partager via


Méthode ModelReader.GetModels

Gets a list of identifiers of all the user-defined models in the system for which the current user is an administrator.

Espace de noms :  Microsoft.MasterDataServices.Deployment
Assembly :  Microsoft.MasterDataServices.Deployment (en Microsoft.MasterDataServices.Deployment.dll)

Syntaxe

'Déclaration
Public Function GetModels As Collection(Of Identifier)
'Utilisation
Dim instance As ModelReader 
Dim returnValue As Collection(Of Identifier)

returnValue = instance.GetModels()
public Collection<Identifier> GetModels()
public:
Collection<Identifier^>^ GetModels()
member GetModels : unit -> Collection<Identifier> 
public function GetModels() : Collection<Identifier>

Valeur de retour

Type : System.Collections.ObjectModel.Collection<Identifier>
A collection of model identifers matching the models in the system.

Notes

GetModels throws ServiceAdapterException if errors were returned from a service call.

Voir aussi

Référence

ModelReader Classe

Espace de noms Microsoft.MasterDataServices.Deployment