GetVersions 方法
Gets a list of identifiers of all the versions for the model 'modelId'.
命名空間: Microsoft.MasterDataServices.Deployment
組件: Microsoft.MasterDataServices.Deployment (在 Microsoft.MasterDataServices.Deployment.dll 中)
語法
'宣告
Public Function GetVersions ( _
versionStatusTypes As VersionStatusFlags _
) As Collection(Of Identifier)
'用途
Dim instance As ModelReader
Dim versionStatusTypes As VersionStatusFlags
Dim returnValue As Collection(Of Identifier)
returnValue = instance.GetVersions(versionStatusTypes)
public Collection<Identifier> GetVersions(
VersionStatusFlags versionStatusTypes
)
public:
Collection<Identifier^>^ GetVersions(
VersionStatusFlags versionStatusTypes
)
member GetVersions :
versionStatusTypes:VersionStatusFlags -> Collection<Identifier>
public function GetVersions(
versionStatusTypes : VersionStatusFlags
) : Collection<Identifier>
參數
- versionStatusTypes
型別:Microsoft.MasterDataServices.Deployment. . :: . .VersionStatusFlags
Limits returned version identifiers to verions of these status types.
傳回值
型別:System.Collections.ObjectModel. . :: . .Collection< (Of < ( <'Identifier> ) > ) >
Collection of version identifiers for the model.
備註
GetVersions throws ArgumentOutOfRangeException if versionStatusTypes has an invalid value.
GetVersions throws ServiceAdapterException if errors were returned from a service call.