Partilhar via


DomainRoleHasPropertyAttributes.SetDomainRole Method

Sets DomainRole.

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

Syntax

'Declaração
Public Shared Sub SetDomainRole ( _
    element As ClrAttribute, _
    newDomainRole As DomainRole _
)
public static void SetDomainRole(
    ClrAttribute element,
    DomainRole newDomainRole
)
public:
static void SetDomainRole(
    ClrAttribute^ element, 
    DomainRole^ newDomainRole
)
static member SetDomainRole : 
        element:ClrAttribute * 
        newDomainRole:DomainRole -> unit 
public static function SetDomainRole(
    element : ClrAttribute, 
    newDomainRole : DomainRole
)

Parameters

.NET Framework Security

See Also

Reference

DomainRoleHasPropertyAttributes Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace