SPSimpleUsageEventLog.WriteLog method (String, Dictionary<String, Object>)
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub WriteLog ( _
eventName As String, _
customProperties As Dictionary(Of String, Object) _
)
'Usage
Dim eventName As String
Dim customProperties As Dictionary(Of String, Object)
SPSimpleUsageEventLog.WriteLog(eventName, customProperties)
public static void WriteLog(
string eventName,
Dictionary<string, Object> customProperties
)
Parameters
- eventName
Type: System.String
- customProperties
Type: System.Collections.Generic.Dictionary<String, Object>