共用方式為


Policy 成員

The Policy object represents a Policy-Based Management policy.

Policy 型別公開下列成員。

建構函式

  名稱 描述
公用方法 Policy() () () () Initializes a new instance of the Policy class.
公用方法 Policy(PolicyStore, String) Initializes a new instance of the Policy class.

頂端

方法

  名稱 描述
公用方法 Alter Updates any Policy object property changes on the instance of SQL Server.
受保護的方法 AlterImpl 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
受保護的方法 CheckObjectCreated 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
受保護的方法 CheckObjectState 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
公用方法 Create
受保護的方法 CreateIdentityKey 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
受保護的方法 CreateImpl 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
公用方法 Discover (覆寫 SfcInstanceDiscover(ISfcDependencyDiscoveryObjectSink)。)
公用方法 Drop Removes the policy from the instance of SQL Server.
受保護的方法 DropImpl 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
公用方法 Equals (繼承自 Object。)
公用方法 Evaluate(AdHocPolicyEvaluationMode, array<ISfcConnection> [] () [] [])
公用方法 Evaluate(AdHocPolicyEvaluationMode, array<Object> [] () [] []) Immediately executes the policy against the specified target objects by using the specified evaluation mode.
公用方法 Evaluate(AdHocPolicyEvaluationMode, SfcQueryExpression, array<ISfcConnection> [] () [] [])
受保護的方法 Finalize (繼承自 Object。)
受保護的方法 GetChildCollection 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
公用方法 GetDomain 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
公用方法 GetHashCode (繼承自 Object。)
公用方法靜態成員 GetObjectFactory Gets the object factory for the object.
公用方法 GetPropertySet Returns the set of properties for the SfcInstance object. (繼承自 SfcInstance。)
公用方法 GetType (繼承自 Object。)
受保護的方法 GetTypeMetadataImpl 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
受保護的方法 InitializeUIPropertyState 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
受保護的方法 MarkForDropImpl 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
受保護的方法 MarkRootAsConnected 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
受保護的方法 MemberwiseClone (繼承自 Object。)
受保護的方法 MoveImpl 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
受保護的方法 OnPropertyMetadataChanges Invoked whenever the effective value of any SfcInstance metadata is updated. (繼承自 SfcInstance。)
受保護的方法 OnPropertyValueChanges Invoked whenever the effective value of any SfcInstance property is updated. (繼承自 SfcInstance。)
受保護的方法 PostAlter 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
受保護的方法 PostCreate 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
受保護的方法 PostDrop 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
受保護的方法 PostMove 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
受保護的方法 PostRename 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
公用方法 ProduceConfigureScript
公用方法 Refresh Refreshes the object's properties by reading them from the server. (繼承自 SfcInstance。)
公用方法 Rename Renames the policy.
受保護的方法 RenameImpl 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
受保護的方法 ResetKey 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
公用方法 ScriptAlter Alters the script that is used to create the condition.
公用方法 ScriptAlterWithObjectSet
公用方法 ScriptCreate Creates a script that is used to create the condition.
公用方法 ScriptCreateWithDependencies
公用方法 ScriptCreateWithObjectSet
公用方法 ScriptDrop Drops the script that is used to create the condition.
公用方法 ScriptDropWithObjectSet
公用方法 Serialize Serializes the instance to XML. (繼承自 SfcInstance。)
公用方法 ToString Returns a string representation of the instance Urn. (繼承自 SfcInstance。)
受保護的方法 UpdateUIPropertyState 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
公用方法 UsesFacet
受保護的方法 Validate 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
公用方法 Validate(String)

頂端

欄位

  名稱 描述
公用欄位靜態成員 HelpLinkStringMaxLength
公用欄位靜態成員 HelpTextStringMaxLength

頂端

屬性

  名稱 描述
受保護的屬性 AbstractIdentityKey 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
公用屬性 AutomatedPolicyEvaluationMode
公用屬性 CategoryId Gets the ID value that uniquely identifies the category that is associated with the policy.
公用屬性 Condition
公用屬性 CreateDate Gets the date and time when the policy was created.
公用屬性 CreatedBy Gets the policy store authentication credentials of the user who created the policy.
公用屬性 DateModified Gets the date and time when the policy was last modified.
公用屬性 Description Gets or sets the textual description of the policy.
公用屬性 Enabled Gets or set the Boolean value that specifies whether the policy is enabled.
公用屬性 EvaluationHistories
公用屬性 HasScript Gets the Boolean value that specifies whether the policy has a script.
公用屬性 HelpLink Gets or sets a URN to additional help information for the policy.
公用屬性 HelpText Gets or sets the display name for the help text.
公用屬性 ID Gets the ID value that uniquely identifies the policy.
公用屬性 IdentityKey Gets the key that identifies the policy.
公用屬性 Metadata Returns metadata about the instance and its domain. (繼承自 SfcInstance。)
公用屬性 ModifiedBy Gets the policy store authentication credentials of the user who last modified the policy.
公用屬性 Name
公用屬性 ObjectSet Gets or sets the set of objects that are associated with the policy.
公用屬性 Parent Gets or sets the PolicyStore that is the parent of the policy object.
公用屬性 PolicyCategory Gets or sets the category that is associated with the policy.
公用屬性 Properties Returns a collection instance properties. (繼承自 SfcInstance。)
受保護的屬性 PropertyStorageProvider 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
公用屬性 RootCondition Gets or sets the name of the root condition for this policy.
公用屬性 ScheduleUid Gets or sets the Guid that identifies the SQL Server Agent schedule that checks on the policy.
受保護的屬性 State Returns the state of the SfcInstance object. (繼承自 SfcInstance。)
公用屬性 Urn Returns the uniform resource name of the SfcInstance object. (繼承自 SfcInstance。)

頂端

事件

  名稱 描述
公用事件 ConnectionProcessingFinished
公用事件 ConnectionProcessingStarted
公用事件 PolicyEvaluationFinished
公用事件 PolicyEvaluationStarted
受保護的事件 propertyChanged 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
公用事件 PropertyChanged CLS-compliant event for property changes. (繼承自 SfcInstance。)
受保護的事件 propertyMetadataChanged 僅供參考之用。不支援。我們無法保證未來的相容性。 (繼承自 SfcInstance。)
公用事件 PropertyMetadataChanged CLS-compliant event for property metadata changes. (繼承自 SfcInstance。)
公用事件 TargetProcessed

頂端

明確繼承實作  

  名稱 描述
明確介面實作私用方法 ISfcRenamableRename
明確介面實作私用方法 ISfcRenamableScriptRename
明確介面實作私用方法 ISfcValidateValidate

頂端