Share via


PathSegmentReferencesRole Constructors

Definition

Overloads

PathSegmentReferencesRole(PathSegment, DomainRole)

Constructor Creates a PathSegmentReferencesRole link in the same Partition as the given PathSegment

PathSegmentReferencesRole(Partition, RoleAssignment[])

Constructor

PathSegmentReferencesRole(Store, RoleAssignment[])

Constructor

PathSegmentReferencesRole(Partition, RoleAssignment[], PropertyAssignment[])

Constructor

PathSegmentReferencesRole(Store, RoleAssignment[], PropertyAssignment[])

Constructor

PathSegmentReferencesRole(PathSegment, DomainRole)

Constructor Creates a PathSegmentReferencesRole link in the same Partition as the given PathSegment

public:
 PathSegmentReferencesRole(Microsoft::VisualStudio::Modeling::DslDefinition::PathSegment ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ target);
public PathSegmentReferencesRole (Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment source, Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole target);
new Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole : Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment * Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole -> Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole
Public Sub New (source As PathSegment, target As DomainRole)

Parameters

source
PathSegment

PathSegment to use as the source of the relationship.

target
DomainRole

DomainRole to use as the target of the relationship.

Applies to

PathSegmentReferencesRole(Partition, RoleAssignment[])

Constructor

public:
 PathSegmentReferencesRole(Microsoft::VisualStudio::Modeling::Partition ^ partition, ... cli::array <Microsoft::VisualStudio::Modeling::RoleAssignment ^> ^ roleAssignments);
public PathSegmentReferencesRole (Microsoft.VisualStudio.Modeling.Partition partition, params Microsoft.VisualStudio.Modeling.RoleAssignment[] roleAssignments);
new Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.RoleAssignment[] -> Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole
Public Sub New (partition As Partition, ParamArray roleAssignments As RoleAssignment())

Parameters

partition
Partition

Partition where new link is to be created.

roleAssignments
RoleAssignment[]

List of relationship role assignments.

Applies to

PathSegmentReferencesRole(Store, RoleAssignment[])

Constructor

public:
 PathSegmentReferencesRole(Microsoft::VisualStudio::Modeling::Store ^ store, ... cli::array <Microsoft::VisualStudio::Modeling::RoleAssignment ^> ^ roleAssignments);
public PathSegmentReferencesRole (Microsoft.VisualStudio.Modeling.Store store, params Microsoft.VisualStudio.Modeling.RoleAssignment[] roleAssignments);
new Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.RoleAssignment[] -> Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole
Public Sub New (store As Store, ParamArray roleAssignments As RoleAssignment())

Parameters

store
Store

Store where new link is to be created.

roleAssignments
RoleAssignment[]

List of relationship role assignments.

Applies to

PathSegmentReferencesRole(Partition, RoleAssignment[], PropertyAssignment[])

Constructor

public:
 PathSegmentReferencesRole(Microsoft::VisualStudio::Modeling::Partition ^ partition, cli::array <Microsoft::VisualStudio::Modeling::RoleAssignment ^> ^ roleAssignments, cli::array <Microsoft::VisualStudio::Modeling::PropertyAssignment ^> ^ propertyAssignments);
public PathSegmentReferencesRole (Microsoft.VisualStudio.Modeling.Partition partition, Microsoft.VisualStudio.Modeling.RoleAssignment[] roleAssignments, Microsoft.VisualStudio.Modeling.PropertyAssignment[] propertyAssignments);
new Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.RoleAssignment[] * Microsoft.VisualStudio.Modeling.PropertyAssignment[] -> Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole
Public Sub New (partition As Partition, roleAssignments As RoleAssignment(), propertyAssignments As PropertyAssignment())

Parameters

partition
Partition

Partition where new link is to be created.

roleAssignments
RoleAssignment[]

List of relationship role assignments.

propertyAssignments
PropertyAssignment[]

List of properties assignments to set on the new link.

Applies to

PathSegmentReferencesRole(Store, RoleAssignment[], PropertyAssignment[])

Constructor

public:
 PathSegmentReferencesRole(Microsoft::VisualStudio::Modeling::Store ^ store, cli::array <Microsoft::VisualStudio::Modeling::RoleAssignment ^> ^ roleAssignments, cli::array <Microsoft::VisualStudio::Modeling::PropertyAssignment ^> ^ propertyAssignments);
public PathSegmentReferencesRole (Microsoft.VisualStudio.Modeling.Store store, Microsoft.VisualStudio.Modeling.RoleAssignment[] roleAssignments, Microsoft.VisualStudio.Modeling.PropertyAssignment[] propertyAssignments);
new Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.RoleAssignment[] * Microsoft.VisualStudio.Modeling.PropertyAssignment[] -> Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole
Public Sub New (store As Store, roleAssignments As RoleAssignment(), propertyAssignments As PropertyAssignment())

Parameters

store
Store

Store where new link is to be created.

roleAssignments
RoleAssignment[]

List of relationship role assignments.

propertyAssignments
PropertyAssignment[]

List of properties assignments to set on the new link.

Applies to