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) |
頂端
屬性
| 名稱 | 描述 | |
|---|---|---|
![]() |
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 |
頂端
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)