共用方式為


SPAuditEntry.SourceName property

取得導致事件發生與 SharePoint 資料庫寫SPAuditEntry資料的應用程式的名稱。

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

Syntax

'宣告
Public ReadOnly Property SourceName As String
    Get
'用途
Dim instance As SPAuditEntry
Dim value As String

value = instance.SourceName
public string SourceName { get; }

Property value

Type: System.String
String 表示呼叫WriteAuditEvent應用程式的名稱。例如,「 我的 SharePoint 解決方案 」。

備註

如果ObjectModelEventSource的值,使用SourceName屬性來識別呼叫WriteAuditEvent應用程式。

請參閱

參照

SPAuditEntry class

SPAuditEntry members

Microsoft.SharePoint namespace