SPAuditEntry.SourceName property
Gets the name of the application that caused the event and wrote the SPAuditEntry data to the SharePoint database.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property SourceName As String
Get
'Usage
Dim instance As SPAuditEntry
Dim value As String
value = instance.SourceName
public string SourceName { get; }
Property value
Type: System.String
A String that represents the name of the application that called WriteAuditEvent. An example is "My SharePoint Solution".
Remarks
If the value of EventSource is ObjectModel, use the SourceName property to identify the application that called WriteAuditEvent.