Partager via


AuditLog.SetAuditFlag(String, String) Method

Definition

Sets the value for the specified audit flag.

public:
 static void SetAuditFlag(System::String ^ auditFlagName, System::String ^ auditFlagValue);
public static void SetAuditFlag (string auditFlagName, string auditFlagValue);
static member SetAuditFlag : string * string -> unit
Public Shared Sub SetAuditFlag (auditFlagName As String, auditFlagValue As String)

Parameters

auditFlagName
String

Specifies the arbitrary audit flag identifier

auditFlagValue
String

0 = turn off logging, 1 = turn on logging

Applies to