Partager via


ModelReader.GetVersions Method (VersionStatusFlags)

 

Gets a list of identifiers of all the versions for the model 'modelId'.

Namespace:   Microsoft.MasterDataServices.Deployment
Assembly:  Microsoft.MasterDataServices.Deployment (in Microsoft.MasterDataServices.Deployment.dll)

Syntax

public Collection<Identifier> GetVersions(
    VersionStatusFlags versionStatusTypes
)
public:
Collection<Identifier^>^ GetVersions(
    VersionStatusFlags versionStatusTypes
)
member GetVersions : 
        versionStatusTypes:VersionStatusFlags -> Collection<Identifier>
Public Function GetVersions (
    versionStatusTypes As VersionStatusFlags
) As Collection(Of Identifier)

Parameters

Return Value

Type: System.Collections.ObjectModel.Collection<Identifier>

The collection of version identifiers for the model.

Remarks

GetVersions throws ArgumentOutOfRangeException if versionStatusTypes has an invalid value.

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

See Also

ModelReader Class
Microsoft.MasterDataServices.Deployment Namespace

Return to top