Поделиться через


Пространство имен 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.