XdsObjects Help file
XdsObjects Namespace / XdsAudit Class / SecurityAlert Method
The XDS domain, including a list of the audit repositories to be used
The status of the event being logged
Human readable description of the alert



SecurityAlert Method
Log a security alert
Syntax
Public Shared Function SecurityAlert( _
   ByVal Domain As XdsDomain, _
   ByVal outcomeIndicator As EventOutcomeIndicator, _
   ByVal alertDescription As String _
) As Integer
Dim Domain As XdsDomain
Dim outcomeIndicator As EventOutcomeIndicator
Dim alertDescription As String
Dim value As Integer
 
value = XdsAudit.SecurityAlert(Domain, outcomeIndicator, alertDescription)
public static int SecurityAlert( 
   XdsDomain Domain,
   EventOutcomeIndicator outcomeIndicator,
   string alertDescription
)
public:
static int SecurityAlert( 
   XdsDomain^ Domain,
   EventOutcomeIndicator outcomeIndicator,
   String^ 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
Remarks

The "Destination" may indicate anremovable drive etc.

For UDP repositories, there is no confirmation that the message was successfully received

Ensure that the Domain is fully set up before making this call.

Requirements

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

See Also