Click a method to see more information on its use, syntax, and parameters:
object.Description
Part | Description |
object | An attribute metadata object |
Dim Verastream_Session As AppConnModel Dim strModelName, strServerName, strEntity, strAttribute As String Dim objMetaData As AttributeMetaData strModelName = "CCSDemo" strServerName = "localhost" strEntity = "AcctTransactions" strAttribute = "AcctNumber" Set Verastream_Session = New AppConnModel Verastream_Session.ConnectToModel strServerName, strModelName Set objMetaData = Verastream_Session.GetAttributeMetaData(strEntity, strAttribute) MsgBox ("Description " & objMetaData.Description) Verastream_Session.Disconnect Set Verastream_Session = Nothing Set objMetaData = Nothing
object.IsReadable
Part | Description |
object | An AttributeMetaData object |
Dim Verastream_Session As AppConnModel Dim strModelName, strServerName, strEntity, strAttribute As String Dim objMetaData As AttributeMetaData strModelName = "CCSDemo" strServerName = "localhost" strEntity = "AcctTransactions" strAttribute = "AcctNumber" Set Verastream_Session = New AppConnModel Verastream_Session.ConnectToModel strServerName, strModelName Set objMetaData = Verastream_Session.GetAttributeMetaData(strEntity, strAttribute) MsgBox ("IsReadable " & objMetaData.IsReadable) Verastream_Session.Disconnect Set Verastream_Session = Nothing Set objMetaData = Nothing
object.IsWriteable
Part | Description |
object | An AttributeMetaData object |
Use the IsWriteable property to get the writeable flag of an attribute.
Dim Verastream_Session As AppConnModel Dim strModelName, strServerName, strEntity, strAttribute As String Dim objMetaData As AttributeMetaData strModelName = "CCSDemo" strServerName = "localhost" strEntity = "AcctTransactions" strAttribute = "AcctNumber" Set Verastream_Session = New AppConnModel Verastream_Session.ConnectToModel strServerName, strModelName Set objMetaData = Verastream_Session.GetAttributeMetaData(strEntity, strAttribute) MsgBox ("IsWriteable " & objMetaData.IsWriteable) Verastream_Session.Disconnect Set Verastream_Session = Nothing Set objMetaData = Nothing
Used to get the length of an attribute.
object.Length
Part | Description |
object | An AttributeMetaData object |
Use the Length property to get the length of an attribute.
Dim Verastream_Session As AppConnModel Dim strModelName, strServerName, strEntity, strAttribute As String Dim objMetaData As AttributeMetaData strModelName = "CCSDemo" strServerName = "localhost" strEntity = "AcctTransactions" strAttribute = "AcctNumber" Set Verastream_Session = New AppConnModel Verastream_Session.ConnectToModel strServerName, strModelName Set objMetaData = Verastream_Session.GetAttributeMetaData(strEntity, strAttribute) MsgBox ("Length " & objMetaData.Length) Verastream_Session.Disconnect Set Verastream_Session = Nothing Set objMetaData = Nothing
Used to get the metadata type of an attribute.
object.MetaDataType
Part | Description |
object | An AttributeMetaData object |
Use the MetaDataType property to get the type of metadata within a Verastream table. The enumeration values for AppConnMetaDataType are defined in the Type Library.
Metadata Types |
AttributeMeta |
OperationMeta |
RecordSetMeta |
FieldMeta |
VariableMeta |
TableMeta |
ColumnMeta |
ProcedureMeta |
Dim Verastream_Session As AppConnModel Dim strModelName, strServerName, strEntity, strAttribute As String Dim objMetaData As AttributeMetaData strModelName = "CCSDemo" strServerName = "localhost" strEntity = "AcctTransactions" strAttribute = "AcctNumber" Set Verastream_Session = New AppConnModel Verastream_Session.ConnectToModel strServerName, strModelName Set objMetaData = Verastream_Session.GetAttributeMetaData(strEntity, strAttribute) MsgBox ("MetaDataType " & objMetaData.MetaDataType) Verastream_Session.Disconnect Set Verastream_Session = Nothing Set objMetaData = Nothing
Used to get the name of an attribute.
object.Name
Part | Description |
object | An AttributeMetaData object |
Use the Name property to get the name of an attribute.
Dim Verastream_Session As AppConnModel Dim strModelName, strServerName, strEntity, strAttribute As String Dim objMetaData As AttributeMetaData strModelName = "CCSDemo" strServerName = "localhost" strEntity = "AcctTransactions" strAttribute = "AcctNumber" Set Verastream_Session = New AppConnModel Verastream_Session.ConnectToModel strServerName, strModelName Set objMetaData = Verastream_Session.GetAttributeMetaData(strEntity, strAttribute) MsgBox ("Name " & objMetaData.Name) Verastream_Session.Disconnect Set Verastream_Session = Nothing Set objMetaData = Nothing
Used to get the read variable of an attribute.
object.ReadVariable
Part | Description |
object | An AttributeMetaData object |
Dim Verastream_Session As AppConnModel
Dim strModelName, strServerName, strEntity, strAttribute As String
Dim objMetaData As AttributeMetaData
strModelName = "CCSDemo"
strServerName = "localhost"
strEntity = "AcctTransactions"
strAttribute = "AcctNumber"
Set Verastream_Session = New AppConnModel
Verastream_Session.ConnectToModel strServerName, strModelName
Set objMetaData = Verastream_Session.GetAttributeMetaData(strEntity, strAttribute)
MsgBox ("ReadVariable " & objMetaData.ReadVariable)
Verastream_Session.Disconnect
Set Verastream_Session = Nothing
Set objMetaData = Nothing
Used to get the terminal attributes enabled flag of an attribute.
object.TerminalAttributesEnabled
Part | Description |
object | An AttributeMetaData object |
Dim Verastream_Session As AppConnModel Dim strModelName, strServerName, strEntity, strAttribute As String Dim objMetaData As AttributeMetaData strModelName = "CCSDemo" strServerName = "localhost" strEntity = "AcctTransactions" strAttribute = "AcctNumber" Set Verastream_Session = New AppConnModel Verastream_Session.ConnectToModel strServerName, strModelName Set objMetaData = Verastream_Session.GetAttributeMetaData(strEntity, strAttribute) MsgBox ("TerminalAttributesEnabled " & objMetaData.TerminalAttributesEnabled) Verastream_Session.Disconnect Set Verastream_Session = Nothing Set objMetaData = Nothing
Used to the write variable of an attribute.
object.WriteVariable
Part | Description |
object | An AttributeMetaData object |
Dim Verastream_Session As AppConnModel Dim strModelName, strServerName, strEntity, strAttribute As String Dim objMetaData As AttributeMetaData strModelName = "CCSDemo" strServerName = "localhost" strEntity = "AcctTransactions" strAttribute = "AcctNumber" Set Verastream_Session = New AppConnModel Verastream_Session.ConnectToModel strServerName, strModelName Set objMetaData = Verastream_Session.GetAttributeMetaData(strEntity, strAttribute) MsgBox ("WriteVariable " & objMetaData.WriteVariable) Verastream_Session.Disconnect Set Verastream_Session = Nothing Set objMetaData = Nothing
![]() |