Partilhar via


Método ModelReader.GetModels

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

Namespace:  Microsoft.MasterDataServices.Deployment
Assembly:  Microsoft.MasterDataServices.Deployment (em Microsoft.MasterDataServices.Deployment.dll)

Sintaxe

'Declaração
Public Function GetModels As Collection(Of Identifier)
'Uso
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>

Valor de retorno

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

Comentários

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

Consulte também

Referência

ModelReader Classe

Namespace Microsoft.MasterDataServices.Deployment