Share via


ModelReader.GetModels Method

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 (in Microsoft.MasterDataServices.Deployment.dll)

Syntax

'Declaration
Public Function GetModels As Collection(Of Identifier)
'Usage
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>

Return Value

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

Remarks

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

See Also

Reference

ModelReader Class

Microsoft.MasterDataServices.Deployment Namespace