Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Evaluates the Policy object and applies policy to the data in identified by the targetConnections parameter.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public Function Evaluate ( _
evaluationMode As AdHocPolicyEvaluationMode, _
ParamArray targetConnections As ISfcConnection() _
) As Boolean
'Usage
Dim instance As Policy
Dim evaluationMode As AdHocPolicyEvaluationMode
Dim targetConnections As ISfcConnection()
Dim returnValue As Boolean
returnValue = instance.Evaluate(evaluationMode, _
targetConnections)
public bool Evaluate(
AdHocPolicyEvaluationMode evaluationMode,
params ISfcConnection[] targetConnections
)
public:
bool Evaluate(
AdHocPolicyEvaluationMode evaluationMode,
... array<ISfcConnection^>^ targetConnections
)
member Evaluate :
evaluationMode:AdHocPolicyEvaluationMode *
targetConnections:ISfcConnection[] -> bool
public function Evaluate(
evaluationMode : AdHocPolicyEvaluationMode,
... targetConnections : ISfcConnection[]
) : boolean
Parameter
- evaluationMode
Typ: Microsoft.SqlServer.Management.Dmf.AdHocPolicyEvaluationMode
A AdHocPolicyEvaluationMode object.
- targetConnections
Typ: array<Microsoft.SqlServer.Management.Common.ISfcConnection[]
An array of ISfcConnection objects.
Rückgabewert
Typ: System.Boolean
A Boolean value, True if the operation succeeds, otherwise False.