Dim Domain As XdsDomain
Dim outcomeIndicator As EventOutcomeIndicator
Dim alertDescription As String
Dim value As Integer
value = XdsAudit.SecurityAlert(Domain, outcomeIndicator, alertDescription)
Parameters
- Domain
- The XDS domain, including a list of the audit repositories to be used
- outcomeIndicator
- The status of the event being logged
- alertDescription
- Human readable description of the alert
Return Value
The number of audit repositories to which the message was successfully sent
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2