Méthode ModelReader.GetVersions
Gets a list of identifiers of all the versions for the model 'modelId'.
Espace de noms : Microsoft.MasterDataServices.Deployment
Assembly : Microsoft.MasterDataServices.Deployment (en Microsoft.MasterDataServices.Deployment.dll)
Syntaxe
'Déclaration
Public Function GetVersions ( _
versionStatusTypes As VersionStatusFlags _
) As Collection(Of Identifier)
'Utilisation
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>
Paramètres
- versionStatusTypes
Type : Microsoft.MasterDataServices.Deployment.VersionStatusFlags
Limits returned version identifiers to versions of these status types.
Valeur de retour
Type : System.Collections.ObjectModel.Collection<Identifier>
The collection of version identifiers for the model.
Notes
GetVersions throws ArgumentOutOfRangeException if versionStatusTypes has an invalid value.
GetVersions throws ServiceAdapterException if errors were returned from a service call.