Udostępnij za pośrednictwem


Metoda DomainRoleInfo.SetRolePlayer — (ElementLink, Guid, ModelElement)

Przypisuje element roli w relacji.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Składnia

'Deklaracja
Public Shared Sub SetRolePlayer ( _
    link As ElementLink, _
    domainRoleId As Guid, _
    newRolePlayerElement As ModelElement _
)
public static void SetRolePlayer(
    ElementLink link,
    Guid domainRoleId,
    ModelElement newRolePlayerElement
)

Parametry

  • domainRoleId
    Typ: System.Guid
    Rolę domeny, aby ustawić odtwarzacz roli dla.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

DomainRoleInfo Klasa

Przeciążenie SetRolePlayer

Przestrzeń nazw Microsoft.VisualStudio.Modeling