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
'Declaración
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
- newDomainRole
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.