다음을 통해 공유


ModelReader.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>

매개 변수

반환 값

유형: System.Collections.ObjectModel.Collection<Identifier>
The 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.

참고 항목

참조

ModelReader 클래스

Microsoft.MasterDataServices.Deployment 네임스페이스