Export (0) Print
Expand All

Policy Methods

The Policy type exposes the following members.

  Name Description
Public method Alter Updates any Policy object property changes on the instance of SQL Server.
Public method Create Creates management policy item.
Protected method CreateIdentityKey Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method Discover Discovers conditions in the ObjectSet and adds them to the ISfcDependencyDiscoveryObjectSink identified by the sink parameter. (Overrides SfcInstance.Discover(ISfcDependencyDiscoveryObjectSink).)
Public method Drop Removes the policy from the instance of SQL Server.
Public method Equals (Inherited from Object.)
Public method Evaluate(AdHocPolicyEvaluationMode, ISfcConnection[]) Evaluates the Policy object and applies policy to the data in identified by the targetConnections parameter.
Public method Evaluate(AdHocPolicyEvaluationMode, Object[]) Immediately executes the policy against the specified target objects by using the specified evaluation mode.
Public method Evaluate(AdHocPolicyEvaluationMode, SfcQueryExpression, ISfcConnection[]) Evaluates the Policy object and applies policy to the data in identified by the targetConnections parameter.
Protected method GetChildCollection Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method GetDomain Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method GetHashCode (Inherited from Object.)
Public method Static member GetObjectFactory Gets the object factory for the object.
Public method GetPropertySet Returns the set of properties for the SfcInstance object. (Inherited from SfcInstance.)
Public method GetType (Inherited from Object.)
Protected method GetTypeMetadataImpl Indicates the domains that override by returning the right TypeMetadata class directly. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method InitializeUIPropertyState Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method OnPropertyMetadataChanges Invoked whenever the effective value of any SfcInstance metadata is updated. (Inherited from SfcInstance.)
Protected method OnPropertyValueChanges Invoked whenever the effective value of any SfcInstance property is updated. (Inherited from SfcInstance.)
Public method ProduceConfigureScript Gets the condition of a Policy object.
Public method Refresh Refreshes the object's properties by reading them from the server. (Inherited from SfcInstance.)
Public method Rename Renames the policy.
Protected method ResetKey Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method ScriptAlter Alters the script that is used to create the policy.
Public method ScriptAlterWithObjectSet Alters a previously created ISfcScript object of the Policy object.
Public method ScriptCreate Creates a script that is used to create the policy.
Public method ScriptCreateWithDependencies Creates the ISfcScript object of the Policy object.
Public method ScriptCreateWithObjectSet Creates the ISfcScript object of the ObjectSet.
Public method ScriptDrop Drops the script that is used to create the policy.
Public method ScriptDropWithObjectSet Drops the ISfcScript object of the ObjectSet.
Public method Serialize Serializes the instance to XML. (Inherited from SfcInstance.)
Public method ToString Returns a string representation of the instance Urn. (Inherited from SfcInstance.)
Public method UsesFacet Determines whether the facet identified by the parameter is contained by the Condition.
Public method Validate Validates a Policy object as specified by the mode parameter.
Top

  Name Description
Explicit interface implemetation Private method ISfcRenamable.Rename Renames the instance of Policy identified by the key parameter.
Explicit interface implemetation Private method ISfcRenamable.ScriptRename Renames a script in the policy.
Explicit interface implemetation Private method ISfcValidate.Validate Validates a Policy object.
Top

Community Additions

ADD
Show:
© 2015 Microsoft