Delen via


RoleHasRolePlayer Constructor (DomainRole, DomainClass)

Constructor Creates a RoleHasRolePlayer link in the same Partition as the given DomainRole

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    source As DomainRole, _
    target As DomainClass _
)
public RoleHasRolePlayer(
    DomainRole source,
    DomainClass target
)
public:
RoleHasRolePlayer(
    DomainRole^ source, 
    DomainClass^ target
)
new : 
        source:DomainRole * 
        target:DomainClass -> RoleHasRolePlayer
public function RoleHasRolePlayer(
    source : DomainRole, 
    target : DomainClass
)

Parameters

.NET Framework Security

See Also

Reference

RoleHasRolePlayer Class

RoleHasRolePlayer Overload

Microsoft.VisualStudio.Modeling.DslDefinition Namespace