Compartir a través de


GetVersions Método

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

Espacio de nombres:  Microsoft.MasterDataServices.Deployment
Ensamblado:  Microsoft.MasterDataServices.Deployment (en Microsoft.MasterDataServices.Deployment.dll)

Sintaxis

'Declaración
Public Function GetVersions ( _
    versionStatusTypes As VersionStatusFlags _
) As Collection(Of Identifier)
'Uso
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>

Parámetros

Valor devuelto

Tipo: System.Collections.ObjectModel. . :: . .Collection< (Of < ( <'Identifier> ) > ) >
Collection of version identifiers for the model.

Comentarios

GetVersions throws ArgumentOutOfRangeException if versionStatusTypes has an invalid value.

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