EvaluateAutomatedPolicy 方法
命名空间: Microsoft.SqlServer.Management.Dmf
程序集: Microsoft.SqlServer.DmfSqlClrWrapper(在 Microsoft.SqlServer.DmfSqlClrWrapper.dll 中)
语法
声明
Public Shared Function EvaluateAutomatedPolicy ( _
policy As String, _
eventData As SqlXml, _
ByRef historyId As Long _
) As Integer
用法
Dim policy As String
Dim eventData As SqlXml
Dim historyId As Long
Dim returnValue As Integer
returnValue = PolicyEvaluationWrapper.EvaluateAutomatedPolicy(policy, _
eventData, historyId)
public static int EvaluateAutomatedPolicy(
string policy,
SqlXml eventData,
ref long historyId
)
public:
static int EvaluateAutomatedPolicy(
String^ policy,
SqlXml^ eventData,
long long% historyId
)
static member EvaluateAutomatedPolicy :
policy:string *
eventData:SqlXml *
historyId:int64 byref -> int
public static function EvaluateAutomatedPolicy(
policy : String,
eventData : SqlXml,
historyId : long
) : int
参数
- policy
类型:System. . :: . .String
- eventData
类型:System.Data.SqlTypes. . :: . .SqlXml
- historyId
类型:System. . :: . .Int64%