共用方式為


SPSecurityEventProperties.RoleDefinitionId property

取得這個事件的角色定義的識別項。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property RoleDefinitionId As Integer
    Get
'用途
Dim instance As SPSecurityEventProperties
Dim value As Integer

value = instance.RoleDefinitionId
public int RoleDefinitionId { get; }

Property value

Type: System.Int32
角色定義的識別項。

請參閱

參照

SPSecurityEventProperties class

SPSecurityEventProperties members

Microsoft.SharePoint namespace