Share via


VersionFlag Class

Definition

A custom label for a Version to aid in integration automation.

public ref class VersionFlag sealed : Microsoft::MasterDataServices::Services::DataContracts::MetadataDataContract<Microsoft::MasterDataServices::Services::DataContracts::ModelContextIdentifier ^>
[System.Runtime.Serialization.DataContract(Name="VersionFlag", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public sealed class VersionFlag : Microsoft.MasterDataServices.Services.DataContracts.MetadataDataContract<Microsoft.MasterDataServices.Services.DataContracts.ModelContextIdentifier>
[<System.Runtime.Serialization.DataContract(Name="VersionFlag", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type VersionFlag = class
    inherit MetadataDataContract<ModelContextIdentifier>
Public NotInheritable Class VersionFlag
Inherits MetadataDataContract(Of ModelContextIdentifier)
Inheritance
Attributes

Remarks

The VersionFlag complex type specifies tags that provide a standard identifier that can be attached to a version to reduce integration rework. These identifiers can be limited to only committed versions or can be available to all versions based on a Boolean setting.

Constructors

VersionFlag()

Initializes a new instance of the VersionFlag class.

Properties

AccessPermission

Specifies the AccessPermission.

(Inherited from MetadataDataContract<TIdType>)
AssignedVersionId

Specifies the Id of the Version the version flag is or should be associated with.

AuditInfo

Specifies the AuditInfo.

(Inherited from MetadataDataContract<TIdType>)
Description

Specifies the description.

Identifier

Specifies the Identifier.

(Inherited from MetadataDataContract<TIdType>)
IsCommittedOnly

Specifies whether the VersionFlag should only be associated with committed versions.

  • True: The version flag can only be associated with committed versions.
  • False: The version flag can be associated with any version.
Permission

Specifies the Permission.

(Inherited from MetadataDataContract<TIdType>)

Methods

SetProperty<T>(T, T, String, Boolean)

Changes the property to the given value.
Returns whether the new value is different from the old value.

(Inherited from DataContractBase)
SetProperty<T>(T, T, String)

Changes the property to the given value.
Returns whether the new value is different from the old value.

(Inherited from DataContractBase)

Applies to

See also