Metoda ModelReader.GetVersions
Pobiera listę identyfikatorów wszystkich wersji dla modelu 'modelId'.
Przestrzeń nazw: Microsoft.MasterDataServices.Deployment
Zestaw: Microsoft.MasterDataServices.Deployment (w Microsoft.MasterDataServices.Deployment.dll)
Składnia
'Deklaracja
Public Function GetVersions ( _
versionStatusTypes As VersionStatusFlags _
) As Collection(Of Identifier)
'Użycie
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>
Parametry
- versionStatusTypes
Typ: Microsoft.MasterDataServices.Deployment.VersionStatusFlags
Limity zwracany identyfikatory wersja wersjami tych typów stanu.
Wartość zwracana
Typ: System.Collections.ObjectModel.Collection<Identifier>
Kolekcja identyfikatory wersja modelu.
Uwagi
GetVersionsgeneruje ArgumentOutOfRangeException Jeśli versionStatusTypes ma nieprawidłową wartość.
GetVersionsgeneruje ServiceAdapterException , jeśli błędy zostały zwrócone przez wywołanie usługa.