AuditLog.SetAuditFlag(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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