Policy.Validate Method
Validates a Policy object as specified by the mode parameter.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public Sub Validate ( _
mode As String _
)
'Usage
Dim instance As Policy
Dim mode As String
instance.Validate(mode)
public void Validate(
string mode
)
public:
void Validate(
String^ mode
)
member Validate :
mode:string -> unit
public function Validate(
mode : String
)
Parameters
- mode
Type: System.String
A string value that specifies the AutomatedPolicyEvaluationMode.