Partager via


Méthode GetModels

Gets a list of identifiers of all the user-defined models in the system.

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< (Of < ( <'Identifier> ) > ) >
A collection of model identifers matching the models in the system.

Notes

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