PolicyEvaluationWrapper.EvaluateAutomatedPolicy(String, SqlXml, Int64) 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.
Evaluates an automated policy.
public:
static int EvaluateAutomatedPolicy(System::String ^ policy, System::Data::SqlTypes::SqlXml ^ eventData, long % historyId);
public static int EvaluateAutomatedPolicy (string policy, System.Data.SqlTypes.SqlXml eventData, ref long historyId);
static member EvaluateAutomatedPolicy : string * System.Data.SqlTypes.SqlXml * int64 -> int
Public Shared Function EvaluateAutomatedPolicy (policy As String, eventData As SqlXml, ByRef historyId As Long) As Integer
Parameters
- eventData
- SqlXml
A SqlXml system object value that contains the events generated when evaluating the policy.
Returns
An Int32 value that determines the success of the policy evaluation.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.