Membros Policy
The Policy object represents a Policy-Based Management policy.
O tipo Policy expõe os seguintes membros.
Construtores
| Nome | Descrição | |
|---|---|---|
![]() |
Policy() () () () | Initializes a new instance of the Policy class. |
![]() |
Policy(PolicyStore, String) | Initializes a new instance of the Policy class. |
Início
Métodos
| Nome | Descrição | |
|---|---|---|
![]() |
Alter | Updates any Policy object property changes on the instance of SQL Server. |
![]() |
AlterImpl | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
CheckObjectCreated | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
CheckObjectState | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
Create | |
![]() |
CreateIdentityKey | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
CreateImpl | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
Discover | (Substitui SfcInstanceDiscover(ISfcDependencyDiscoveryObjectSink).) |
![]() |
Drop | Removes the policy from the instance of SQL Server. |
![]() |
DropImpl | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
Equals | (Herdado de 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 | (Herdado de Object.) |
![]() |
GetChildCollection | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
GetDomain | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
GetHashCode | (Herdado de Object.) |
![]() ![]() |
GetObjectFactory | Gets the object factory for the object. |
![]() |
GetPropertySet | Returns the set of properties for the SfcInstance object. (Herdado de SfcInstance.) |
![]() |
GetType | (Herdado de Object.) |
![]() |
GetTypeMetadataImpl | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
InitializeUIPropertyState | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
MarkForDropImpl | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
MarkRootAsConnected | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
MemberwiseClone | (Herdado de Object.) |
![]() |
MoveImpl | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
OnPropertyMetadataChanges | Invoked whenever the effective value of any SfcInstance metadata is updated. (Herdado de SfcInstance.) |
![]() |
OnPropertyValueChanges | Invoked whenever the effective value of any SfcInstance property is updated. (Herdado de SfcInstance.) |
![]() |
PostAlter | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
PostCreate | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
PostDrop | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
PostMove | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
PostRename | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
ProduceConfigureScript | |
![]() |
Refresh | Refreshes the object's properties by reading them from the server. (Herdado de SfcInstance.) |
![]() |
Rename | Renames the policy. |
![]() |
RenameImpl | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
ResetKey | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de 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. (Herdado de SfcInstance.) |
![]() |
ToString | Returns a string representation of the instance Urn. (Herdado de SfcInstance.) |
![]() |
UpdateUIPropertyState | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
UsesFacet | |
![]() |
Validate | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
Validate(String) |
Início
Propriedades
| Nome | Descrição | |
|---|---|---|
![]() |
AbstractIdentityKey | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de 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. (Herdado de 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. (Herdado de SfcInstance.) |
![]() |
PropertyStorageProvider | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de 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. (Herdado de SfcInstance.) |
![]() |
Urn | Returns the uniform resource name of the SfcInstance object. (Herdado de SfcInstance.) |
Início
Eventos
| Nome | Descrição | |
|---|---|---|
![]() |
ConnectionProcessingFinished | |
![]() |
ConnectionProcessingStarted | |
![]() |
PolicyEvaluationFinished | |
![]() |
PolicyEvaluationStarted | |
![]() |
propertyChanged | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
PropertyChanged | CLS-compliant event for property changes. (Herdado de SfcInstance.) |
![]() |
propertyMetadataChanged | Identificado apenas para fins informativos. Não há suporte. A compatibilidade futura não está garantida. (Herdado de SfcInstance.) |
![]() |
PropertyMetadataChanged | CLS-compliant event for property metadata changes. (Herdado de SfcInstance.) |
![]() |
TargetProcessed |
Início
Implementações de interface explícitas
| Nome | Descrição | |
|---|---|---|
![]() ![]() |
ISfcRenamableRename | |
![]() ![]() |
ISfcRenamableScriptRename | |
![]() ![]() |
ISfcValidateValidate |
Início
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)