共用方式為


Microsoft.SqlServer.Management.Dmf 命名空間

The Microsoft.SqlServer.Management.Dmf namespace contains classes that represent the SQL Server policy-based management objects. 

The top-level class is the PolicyStore class, where the following objects are child objects: Policy, Condition, PolicyGroupSubscription, PolicyCategory, Facets

The Microsoft.SqlServer.Management.Facets namespace supports the Microsoft.SqlServer.Management.Dmf namespace.

類別

  類別 描述
公用類別 AdapterAlreadyExistsException The AdapterAlreadyExistsException class is an exception that is raised when an attempt is made to retrieve a collection that is not available.
公用類別 AdapterWrongNumberOfArgumentsException The AdapterWrongNumberOfArgumentsException class is an exception that is raised when the adapter receives the wrong number of arguments.
公用類別 AssemblyAlreadyRegisteredException
公用類別 BadEventDataException The BadEventDataException class is an exception that is raised when the event data is incorrect.
公用類別 BadExpressionTreeException The BadExpressionTreeException class is an exception that is raised when the expression tree is incorrect.
公用類別 Condition The Condition object represents a policy-based management condition.
公用類別 Condition. . :: . .Key The Condition..::..Key class represents the key that identifies the Condition class.
公用類別 ConditionCollection The ConditionCollection class represents a collection of Condition objects that represent all the conditions in the policy store.
公用類別 ConditionExtender The ConditionExtender class is an exception that is raised when the expression tree is incorrect.
公用類別 ConflictingPropertyValuesException The ConflictingPropertyValuesException class is an exception that is raised when property values conflict.
公用類別 ConnectionEvaluationHistory The ConnectionEvaluationHistory object represents the information that is stored in the system catalogs to evaluate the policy on a specific instance of SQL Server.
公用類別 ConnectionEvaluationHistory. . :: . .Key The ConnectionEvaluationHistory..::..Key class represents the key that is used to identify the ConnectionEvaluationHistory class.
公用類別 ConnectionEvaluationHistoryCollection The ConnectionEvaluationHistoryCollection class represents a collection of ConnectionEvaluationHistory objects that represent all the connection evaluation histories that are in the evaluation history.
公用類別 ConversionNotSupportedException The ConversionNotSupportedException class is an exception that is raised when an unsupported conversion is attempted on a type.
公用類別 DmfException The DmfException class represents a generic policy-based management exception.
公用類別 EvaluationDetail The EvaluationDetail object represents the evaluation information that is stored in the system catalogs about the parent policy for a given target.
公用類別 EvaluationDetail. . :: . .Key The EvaluationDetail..::..Key class represents the key that identifies the EvaluationDetail class.
公用類別 EvaluationDetailCollection The EvaluationDetailCollection class represents a collection of EvaluationDetail objects that represent all the evaluation details that are in the connection evaluation history.
公用類別 EvaluationFactory Represents the evaluation factory in policy-based management services.
公用類別 EvaluationHistory The EvaluationHistory object represents information about parent policy evaluation that is stored in the system catalogs.
公用類別 EvaluationHistory. . :: . .Key The EvaluationHistory..::..Key class represents the key that identifies the EvaluationHistory class.
公用類別 EvaluationHistoryCollection The EvaluationHistoryCollection class represents a collection of EvaluationHistory objects that represent all evaluation histories that are in the policy store.
公用類別 ExpressionNode The ExpressionNode object represents a policy-based management expression node. The expression node describes part of an expression, such as a constant value, an operator, or a function.
公用類別 ExpressionNodeAttribute The ExpressionNodeAttribute object represents an attribute of a policy-based management expression node.
公用類別 ExpressionNodeChildren The ExpressionNodeChildren object represents the child expression nodes that are dependent on an expression node.
公用類別 ExpressionNodeConfigurationException The ExpressionNodeConfigurationException class is an exception that is raised when an the adapter receives the wrong number of arguments.
公用類別 ExpressionNodeConstant The ExpressionNodeConstant object represents an objectthat is used in an expression.
公用類別 ExpressionNodeFunction The ExpressionNodeFunction object represents part of a policy-based management expression that is a function.
公用類別 ExpressionNodeGroup The ExpressionNodeGroup object represents an expression node that is a group.
公用類別 ExpressionNodeNotConfigurableException The ExpressionNodeNotConfigurableException class is an exception that is raised when the expression node cannot be configured.
公用類別 ExpressionNodeNotConfigurableOperatorException The ExpressionNodeNotConfigurableOperatorException class is an exception that is raised if the operator cannot configure the expression node.
公用類別 ExpressionNodeOperator The ExpressionNodeOperator object represents an expression node that is an operator.
公用類別 ExpressionSerializationException The ExpressionSerializationException class is an exception that is raised when an the adapter receives the wrong number of arguments.
公用類別 ExpressionTypeMistmatchException The ExpressionTypeMismatchException class is an exception that is raised when the types in the expression do not match.
公用類別 FacetInfo The FacetInfo object represents a facet information item that is used to record information about the facets.
公用類別 FacetInfoCollection The FacetInfoCollection class represents a collection of FacetInfo objects that represent all facets on the instance of SQL Server.
公用類別 FailedOperationException The FailedOperationException class is an exception that is raised when a policy-based management operation fails.
公用類別 FunctionBadDatePartException The FunctionBadDatePartException class is an exception that is raised when the date that is supplied to the function is not the correct format.
公用類別 FunctionNoServerException The FunctionNoServerException class is an exception that is raised when the server is not recognized.
公用類別 FunctionNotASmoObjectException The FunctionNotASmoObjectException class is an exception that is raised when the function encounters an unsupported object.
公用類別 FunctionTooManyColumnsException The FunctionTooManyColumnsException class is an exception that is raised when the function has too many columns.
公用類別 FunctionWrongArgumentsNumberException The FunctionWrongArgumentsNumberException class is an exception that is raised when the function receives the incorrect number of arguments.
公用類別 FunctionWrongArgumentTypeException The FunctionWrongArgumentTypeException class is an exception that is raised when the function receives an argument that is the incorrect type.
公用類別 FunctionWrongReturnTypeException The FunctionWrongReturnTypeException class is an exception that is raised when the specified return type is not the same as the type that is returned by the function.
公用類別 InvalidInOperatorException The InvalidInOperatorException class is an exception that is raised when the operator is not valid.
公用類別 InvalidOperandException The InvalidOperandException class is an exception that is raised when an operand is encountered that is not valid.
公用類別 MissingJobScheduleException The MissingJobScheduleException class is an exception that is raised when there in no job schedule.
公用類別 MissingObjectException The MissingObjectException class is an exception that is raised when a specified object is missing.
公用類別 MissingPropertyException The MissingPropertyException class is an exception that is raised when a specified property is missing.
公用類別 MissingTypeFacetAssociationException The MissingTypeFacetAssociationException class is an exception that is raised when a specified association between a facet and a type is missing.
公用類別 NonConfigurableReadOnlyPropertyException The NonConfigurableReadOnlyPropertyException class is an exception that is raised when there is an attempt to configure a read-only property.
公用類別 NonRetrievablePropertyException The NonRetrievablePropertyException class is an exception that is raised when a property cannot be retrieved.
公用類別 NoTargetSetEnabledException The NoTargetSetEnabledException class is an exception that is raised when the target set has not been enabled.
公用類別 NullFacetException The NullFacetException class is an exception that is raised when the facet is not set.
公用類別 ObjectAlreadyExistsException The ObjectAlreadyExistsException class is an exception that is raised when an attempt to create an object that already exists is made.
公用類別 ObjectSet The ObjectSet object represents a policy-based management set of objects.
公用類別 ObjectSet. . :: . .Key The ObjectSet..::..Key class represents the key that identifies the ObjectSet class.
公用類別 ObjectSetCollection The ObjectSetCollection class represents a collection of ObjectSet objects that represent all the object sets in the policy store.
公用類別 ObjectValidationException The ObjectValidationException class is an exception that is raised when an object encounters an error during validation.
公用類別 OperatorNotApplicableException The OperatorNotApplicableException class is an exception that is raised when an operator does not have the appropriate permissions.
公用類別 Policy The Policy object represents a Policy-Based Management policy.
公用類別 Policy. . :: . .ConnectionProcessingFinishedEventArgs Represents the arguments that are passed to the event handler when the connection processing is finished.
公用類別 Policy. . :: . .ConnectionProcessingStartedEventArgs Represents the arguments that are passed to the event handler when the connection processing has started.
公用類別 Policy. . :: . .Key The Policy..::..Key class represents the key that identifies the Policy class.
公用類別 Policy. . :: . .PolicyEvaluationFinishedEventArgs Represents the arguments that are passed to the event handler when the evaluation of a policy finishes.
公用類別 Policy. . :: . .TargetProcessedEventArgs Represents the arguments that are passed to the event handler when the target is processed.
公用類別 PolicyCategory Represents a category that classifies policies in SQL Server Policy-Based Management.
公用類別 PolicyCategory. . :: . .Key The PolicyCategory..::..Key class represents the key that identifies the PolicyCategory class.
公用類別 PolicyCategoryCollection The PolicyCategoryCollection class represents a collection of PolicyCategory objects that represent all policy categories in the policy store.
公用類別 PolicyCategoryInformation Contains information about the policy category in policy-based management services.
公用類別 PolicyCategorySubscription The PolicyCategorySubscription object represents a subscription to a particular policy category.
公用類別 PolicyCategorySubscription. . :: . .Key The PolicyCategorySubscription..::..Key class represents the key that identifies the PolicyCategorySubscription class.
公用類別 PolicyCategorySubscriptionCollection
公用類別 PolicyCollection The PolicyCollection class represents a collection of Policy objects that represent all policies in the policy store.
公用類別 PolicyEvaluationException The PolicyEvaluationException class is an exception that is raised when an error occurs during the evaluation of a policy.
公用類別 PolicyEvaluationResultsWriter Represents the XML writer that records the policy evaluation history in Policy-Based Management.
公用類別 PolicyEvaluationWrapper Represents a wrapper class for the policy evaluation.
公用類別 PolicyExtender Contains additional functionality for the Policy object.
公用類別 PolicyStore The PolicyStore object represents a policy-based Management policy store that holds information about policies, conditions, object sets, and subscriptions.
公用類別 PolicyStore. . :: . .Key The PolicyStore..::..Key class represents the key that identifies the PolicyStore class.
公用類別 PolicyStoreUpgradeSession Represents a policy store upgrade session.
公用類別 PostConfigurationActionAttribute Represents an attribute that is associated with the post configuration action in policy-based management services.
公用類別 RestartPendingException The RestartPendingException class represents the exception that is raised when a system restart is pending.
公用類別 RestartPendingException< (Of < ( <'T> ) > ) > The RestartPendingException class is an exception that is raised when an error occurs when a system restart is pending.
公用類別 StringPropertyTooLongException The StringPropertyTooLongException class is an exception that is raised when the string that is assigned to a property is too long.
公用類別 TargetEvaluation Represents the target evaluation in policy-based management services.
公用類別 TargetSet The TargetSet object represents a policy-based Management target set that holds information about levels, the condition for each level, and the target types.
公用類別 TargetSet. . :: . .Key The TargetSet..::..Key class represents the key that identifies the TargetSet class.
公用類別 TargetSetCollection The TargetSetCollectionCollection class represents a collection of TargetSet objects that represent all the policies in the policy store.
公用類別 TargetSetCountMismatchException The TargetSetCountMismatchException class is an exception that is raised when the target set and facet counts do not match.
公用類別 TargetSetLevel Represents the target set level in policy-based management services.
公用類別 TargetSetLevel. . :: . .Key The TargetSetLevel..::..Key class represents the key that identifies the TargetSetLevel class.
公用類別 TargetSetLevelCollection The TargetSetLevelCollection class represents a collection of TargetSetLevel objects that represent all target set levels in the target set.
公用類別 TypeConversionException The TypeConversionException class is an exception that is raised when a type conversion error occurs.
公用類別 UnsupportedObjectTypeException The UnsupportedObjectTypeException class is an exception that is raised when an error occurs when the policy encounters an unsupported object.
公用類別 UnsupportedTargetSetForFacetException
公用類別 UnsupportedTypeException The UnsupportedTypeException class is an exception that is raised when an unsupported type is encountered.
公用類別 Utils Represents a utility class that is used in policy-based management services.

委派

  委派 描述
公用委派 Policy. . :: . .ConnectionProcessingFinishedEventHandler The ConnectionProcessingFinishedEventHandler class represents the event handler that handles the event that occurs when the processing of the connection has finished.
公用委派 Policy. . :: . .ConnectionProcessingStartedEventHandler The ConnectionProcessingStartedEventHandler class represents the event handler that handles the event that occurs when the processing of a connection has started.
公用委派 Policy. . :: . .PolicyEvaluationFinishedEventHandler Represents the arguments that are passed to the event handler when a policy evaluation finishes.
公用委派 Policy. . :: . .PolicyEvaluationStartedEventHandler The PolicyEvaluationStartedEventHandler class represents the event handler that handles the event that occurs when the evaluation of a policy has started.
公用委派 Policy. . :: . .TargetProcessedEventHandler The TargetProcessedEventHandler class represents the event handler that handles the event that occurs when the target has been processed.

列舉型別

  列舉型別 描述
公用列舉 AdHocPolicyEvaluationMode The AdHocPolicyEvaluationMode enumeration contains values that specify the method that is used to evaluate the policy.
公用列舉 AutomatedPolicyEvaluationMode The AutomatedPolicyEvaluationMode enumeration contains values that specify the Policy-Based Management automated policy evaluation modes.
公用列舉 DmfExceptionType The DmfExceptionType enumeration contains values that are used to specify the policy-based management exception types.
公用列舉 ExpressionNodeFunction. . :: . .Function The ExpressionNodeFunction..::..Function enumeration contains values that represent the different types of supported function.
公用列舉 ExpressionNodeType The ExpressionNodeType enumeration contains values that specify the type of expression node.
公用列舉 ExpressionSerializationException. . :: . .ReaderActionType 僅供參考之用。不支援。我們無法保證未來的相容性。
公用列舉 ImportPolicyEnabledState The ImportPolicyEnabledState enumeration contains values that are used to specify the state of the import policy.
公用列舉 NameConditionType The NameConditionType enumeration contains values that are used to specify the condition that is used in a policy.
公用列舉 OperatorType The OperatorType enumeration contains values that are used to specify the type of operator.
公用列舉 PolicyEffectiveState The PolicyEffectiveState enumeration contains values that are used to specify the effectiveness of the policy.
公用列舉 PolicyHealthState The PolicyHealthState enumeration contains values that specify the health state of the policy.
公用列舉 PostConfigurationAction The PostConfigurationAction enumeration contains values that specify the action to take after configuration finishes.
公用列舉 TypeClass The TypeClass enumeration contains values that describe the different class types.