Share via


SPAuditEntry.MachineName property

Gets the name of the computer that initiated the event.

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

Syntax

'Declaration
Public ReadOnly Property MachineName As String
    Get
'Usage
Dim instance As SPAuditEntry
Dim value As String

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

Property value

Type: System.String
A String that represents the computer's name.

Remarks

In SharePoint Foundation, this property is always a null reference (Nothing in Visual Basic).

See also

Reference

SPAuditEntry class

SPAuditEntry members

Microsoft.SharePoint namespace