共用方式為


ModelReader.GetModels 方法

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

命名空間:  Microsoft.MasterDataServices.Deployment
組件:  Microsoft.MasterDataServices.Deployment (在 Microsoft.MasterDataServices.Deployment.dll 中)

語法

'宣告
Public Function GetModels As Collection(Of Identifier)
'用途
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>

傳回值

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

備註

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

請參閱

參考

ModelReader 類別

Microsoft.MasterDataServices.Deployment 命名空間