共用方式為


SPSecurityEventProperties.ObjectType property

取得此事件適用於該物件的型別。

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

Syntax

'宣告
Public ReadOnly Property ObjectType As SPObjectType
    Get
'用途
Dim instance As SPSecurityEventProperties
Dim value As SPObjectType

value = instance.ObjectType
public SPObjectType ObjectType { get; }

Property value

Type: Microsoft.SharePoint.SPObjectType
物件的型別。

請參閱

參照

SPSecurityEventProperties class

SPSecurityEventProperties members

Microsoft.SharePoint namespace