Share via


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

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
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.

See Also

Reference

SPAuditEntry Class

SPAuditEntry Members

Microsoft.SharePoint Namespace