Description
Type of the relationship. Valid relationship types are: 0 = Identifying, 1 = NonIdentifying, 2 = NonSpecific, 3 = NonIdentifying Optional, 8 = Containment (MongoDB only). DATATYPE: Integer.
Property Type
- Read-write property
Syntax
Public Property Type() As Variant
Example
Dim MyRelationship As Relationship
Dim RelType As Integer
MyRelationship.Type = RelType
or
' Sets the type of the relationship
Dim MyRelationship As Relationship
Dim RelType As Integer
' O indicates an identifying relationship
RelType = 0
MyRelationship.Type = RelType
See Also