Deli z drugimi prek


AttributePrivilege Constructor (Guid, Int32, Int32, Int32)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Initializes a new instance of the AttributePrivilege class setting the attribute Id, and whether it is valid to create, read and update the attribute value.

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

public AttributePrivilege(
    Guid attributeId,
    int canCreate,
    int canRead,
    int canUpdate
)
Public Sub New (
    attributeId As Guid,
    canCreate As Integer,
    canRead As Integer,
    canUpdate As Integer
)

Parameters

  • canCreate
    Type: System.Int32

    Type: Int32. Whether the attribute value can be specified on create.

  • canUpdate
    Type: System.Int32

    Type: Int32. Whether the attribute value can be updated.

See Also

AttributePrivilege Overload
AttributePrivilege Class
Microsoft.Xrm.Sdk Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright