Freigeben über


Policy-Member

The Policy object represents a Policy-Based Management policy.

Der Policy-Typ macht die folgenden Member verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode Policy() () () () Initializes a new instance of the Policy class.
Öffentliche Methode Policy(PolicyStore, String) Initializes a new instance of the Policy class.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Alter Updates any Policy object property changes on the instance of SQL Server.
Geschützte Methode AlterImpl Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Geschützte Methode CheckObjectCreated Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Geschützte Methode CheckObjectState Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Öffentliche Methode Create
Geschützte Methode CreateIdentityKey Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Geschützte Methode CreateImpl Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Öffentliche Methode Discover (Überschreibt SfcInstanceDiscover(ISfcDependencyDiscoveryObjectSink).)
Öffentliche Methode Drop Removes the policy from the instance of SQL Server.
Geschützte Methode DropImpl Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode Evaluate(AdHocPolicyEvaluationMode, array<ISfcConnection> [] () [] [])
Öffentliche Methode Evaluate(AdHocPolicyEvaluationMode, array<Object> [] () [] []) Immediately executes the policy against the specified target objects by using the specified evaluation mode.
Öffentliche Methode Evaluate(AdHocPolicyEvaluationMode, SfcQueryExpression, array<ISfcConnection> [] () [] [])
Geschützte Methode Finalize (Geerbt von Object.)
Geschützte Methode GetChildCollection Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Öffentliche Methode GetDomain Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche MethodeStatischer Member GetObjectFactory Gets the object factory for the object.
Öffentliche Methode GetPropertySet Returns the set of properties for the SfcInstance object. (Geerbt von SfcInstance.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode GetTypeMetadataImpl Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Geschützte Methode InitializeUIPropertyState Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Geschützte Methode MarkForDropImpl Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Geschützte Methode MarkRootAsConnected Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode MoveImpl Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Geschützte Methode OnPropertyMetadataChanges Invoked whenever the effective value of any SfcInstance metadata is updated. (Geerbt von SfcInstance.)
Geschützte Methode OnPropertyValueChanges Invoked whenever the effective value of any SfcInstance property is updated. (Geerbt von SfcInstance.)
Geschützte Methode PostAlter Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Geschützte Methode PostCreate Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Geschützte Methode PostDrop Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Geschützte Methode PostMove Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Geschützte Methode PostRename Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Öffentliche Methode ProduceConfigureScript
Öffentliche Methode Refresh Refreshes the object's properties by reading them from the server. (Geerbt von SfcInstance.)
Öffentliche Methode Rename Renames the policy.
Geschützte Methode RenameImpl Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Geschützte Methode ResetKey Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Öffentliche Methode ScriptAlter Alters the script that is used to create the condition.
Öffentliche Methode ScriptAlterWithObjectSet
Öffentliche Methode ScriptCreate Creates a script that is used to create the condition.
Öffentliche Methode ScriptCreateWithDependencies
Öffentliche Methode ScriptCreateWithObjectSet
Öffentliche Methode ScriptDrop Drops the script that is used to create the condition.
Öffentliche Methode ScriptDropWithObjectSet
Öffentliche Methode Serialize Serializes the instance to XML. (Geerbt von SfcInstance.)
Öffentliche Methode ToString Returns a string representation of the instance Urn. (Geerbt von SfcInstance.)
Geschützte Methode UpdateUIPropertyState Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Öffentliche Methode UsesFacet
Geschützte Methode Validate Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Öffentliche Methode Validate(String)

Zum Anfang

Felder

  Name Beschreibung
Öffentliches FeldStatischer Member HelpLinkStringMaxLength
Öffentliches FeldStatischer Member HelpTextStringMaxLength

Zum Anfang

Eigenschaften

  Name Beschreibung
Geschützte Eigenschaft AbstractIdentityKey Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Öffentliche Eigenschaft AutomatedPolicyEvaluationMode
Öffentliche Eigenschaft CategoryId Gets the ID value that uniquely identifies the category that is associated with the policy.
Öffentliche Eigenschaft Condition
Öffentliche Eigenschaft CreateDate Gets the date and time when the policy was created.
Öffentliche Eigenschaft CreatedBy Gets the policy store authentication credentials of the user who created the policy.
Öffentliche Eigenschaft DateModified Gets the date and time when the policy was last modified.
Öffentliche Eigenschaft Description Gets or sets the textual description of the policy.
Öffentliche Eigenschaft Enabled Gets or set the Boolean value that specifies whether the policy is enabled.
Öffentliche Eigenschaft EvaluationHistories
Öffentliche Eigenschaft HasScript Gets the Boolean value that specifies whether the policy has a script.
Öffentliche Eigenschaft HelpLink Gets or sets a URN to additional help information for the policy.
Öffentliche Eigenschaft HelpText Gets or sets the display name for the help text.
Öffentliche Eigenschaft ID Gets the ID value that uniquely identifies the policy.
Öffentliche Eigenschaft IdentityKey Gets the key that identifies the policy.
Öffentliche Eigenschaft Metadata Returns metadata about the instance and its domain. (Geerbt von SfcInstance.)
Öffentliche Eigenschaft ModifiedBy Gets the policy store authentication credentials of the user who last modified the policy.
Öffentliche Eigenschaft Name
Öffentliche Eigenschaft ObjectSet Gets or sets the set of objects that are associated with the policy.
Öffentliche Eigenschaft Parent Gets or sets the PolicyStore that is the parent of the policy object.
Öffentliche Eigenschaft PolicyCategory Gets or sets the category that is associated with the policy.
Öffentliche Eigenschaft Properties Returns a collection instance properties. (Geerbt von SfcInstance.)
Geschützte Eigenschaft PropertyStorageProvider Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Öffentliche Eigenschaft RootCondition Gets or sets the name of the root condition for this policy.
Öffentliche Eigenschaft ScheduleUid Gets or sets the Guid that identifies the SQL Server Agent schedule that checks on the policy.
Geschützte Eigenschaft State Returns the state of the SfcInstance object. (Geerbt von SfcInstance.)
Öffentliche Eigenschaft Urn Returns the uniform resource name of the SfcInstance object. (Geerbt von SfcInstance.)

Zum Anfang

Ereignisse

  Name Beschreibung
Öffentliches Ereignis ConnectionProcessingFinished
Öffentliches Ereignis ConnectionProcessingStarted
Öffentliches Ereignis PolicyEvaluationFinished
Öffentliches Ereignis PolicyEvaluationStarted
Geschütztes Ereignis propertyChanged Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Öffentliches Ereignis PropertyChanged CLS-compliant event for property changes. (Geerbt von SfcInstance.)
Geschütztes Ereignis propertyMetadataChanged Nur für Informationszwecke identifiziert. Nicht unterstützt. Zukünftige Kompatibilität wird nicht sichergestellt. (Geerbt von SfcInstance.)
Öffentliches Ereignis PropertyMetadataChanged CLS-compliant event for property metadata changes. (Geerbt von SfcInstance.)
Öffentliches Ereignis TargetProcessed

Zum Anfang

Explizite Schnittstellenimplementierungen 

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode ISfcRenamableRename
Explizite SchnittstellenimplementierungPrivate Methode ISfcRenamableScriptRename
Explizite SchnittstellenimplementierungPrivate Methode ISfcValidateValidate

Zum Anfang