Partilhar via


Microsoft.SqlServer.Management.Dmf Namespace

Classes

AdapterAlreadyExistsException

This exception gets thrown when Adapter Factory encounters already registered {interface; object} pair

AdapterWrongNumberOfArgumentsException

This exception gets thrown when Adapter Factory encounters adapter constructor accepting other than 1 argument

AssemblyAlreadyRegisteredException

This exception gets thrown when FacetRepository attempts to scan the same assembly for the second time

BadEventDataException

Exception that gets thrown when EVENTDATA blob is malformed

BadExpressionTreeException

Run-time exception for ExpressionTree evaluation

Condition

This is the non-generated part of the Condition class.

Condition.Key
ConditionCollection

This is the collection for Conditions.

ConditionExtender

Decorator for the Condition object. Used add additional properties to the base Condition object

ConflictingPropertyValuesException

This exception gets thrown when object cannot be created or modified

ConnectionEvaluationHistory
ConnectionEvaluationHistory.Key
ConnectionEvaluationHistoryCollection

This is the collection for ConnectionEvaluationHistorys.

ConversionNotSupportedException
DmfConstants

Constants for use in DMF

DmfException

Base exception class for all SMO exception classes

EvaluationDetail
EvaluationDetail.Key
EvaluationDetailCollection

This is the collection for EvaluationDetails.

EvaluationFactory

Static Factory class producing Evaluators

EvaluationHistory
EvaluationHistory.Key
EvaluationHistoryCollection

This is the collection for EvaluationHistory.

ExpressionNode

Base node class, cannot be instantiated

ExpressionNodeAttribute

Node representing Attributes - properties of Management Facets

ExpressionNodeChildren

Base class for nodes, having children; cannot be instantiated

ExpressionNodeConfigurationException

This exception gets thrown when we attempt to configure an expression that contains a non-configurable expression node.

ExpressionNodeConstant

Node representing Constants

ExpressionNodeFunction

Function - returns object for given set of arguments

ExpressionNodeGroup

Node, representing a Group - node in parentheses

ExpressionNodeNotConfigurableException

This exception gets thrown when we attempt to configure an expression that contains a non-configurable expression node.

ExpressionNodeNotConfigurableOperatorException

This exception gets thrown when we attempt to configure an expression that contains a non-configurable expression operators.

ExpressionNodeOperator

Operator node - boolean function with 2 arguments

ExpressionSerializationException

This exception gets thrown when ExpressionNode deserialize encounters unxpected xml-node

ExpressionTypeMistmatchException

This exception gets thrown when operator's arguments have incompatible types

FacetInfo

This class provides information about

FacetInfoCollection

This is the collection for FacetInfo.

FailedOperationException

This exception gets thrown when an operation has failed

FunctionBadDatePartException

This exception gets thrown when a date function receives a bad date part string

FunctionNoServerException

This exception gets thrown when the ExecuteSQL scalar function can't find a server to send its query to

FunctionNotASmoObjectException

This exception gets thrown when ExecuteSQLScalar is attempted against a non-SMO target

FunctionTooManyColumnsException

This exception gets thrown when the ExecuteSql or ExecuteWql scalar functions execute queries that return more than one column

FunctionWrongArgumentsNumberException

This exception gets thrown when function receives unexpected number of arguments

FunctionWrongArgumentTypeException

This exception gets thrown when function receives argument of unexpected type

FunctionWrongReturnTypeException

This exception gets thrown when function specifies a return value of unexpected type

InvalidInOperatorException

IN Operator must have right operand List

InvalidOperandException

This exception gets thrown when operator's arguments have incompatible types

MissingJobScheduleException

This exception gets thrown when a policy Job Schedule GUID is empty but the execution mode is not None

MissingObjectException

Object doesn't exists (attempt to reference non-existent object)

MissingPropertyException

This exception gets thrown when we attempt to configure some read only properties

MissingTypeFacetAssociationException
NonConfigurableReadOnlyPropertyException

This exception gets thrown when we attempt to configure some read only properties

NonRetrievablePropertyException

This exception gets thrown when we attempt to retrieve some properties which do not apply to the instance

NoTargetSetEnabledException

This exception is thrown when no Target Sets have been enabled for a given object set

NullFacetException

This exception gets thrown when function expects live adapter but gets NULL

ObjectAlreadyExistsException

Object already exists (attempt to create a duplicate)

ObjectSet
ObjectSet.Key
ObjectSetCollection

This is the collection for ObjectSets.

ObjectValidationException

Generic validation exception

OperatorNotApplicableException

This exception gets thrown when operator's arguments have incompatible types

Policy

This is the non-generated part of the Policy class.

Policy.ConnectionProcessingFinishedEventArgs

Argument for ConnectionProcessingFinished event.

Policy.ConnectionProcessingStartedEventArgs

Argument for ConnectionProcessingStarted event.

Policy.Key
Policy.PolicyEvaluationFinishedEventArgs

Argument for PolicyEvaluatioFinished event.

Policy.TargetProcessedEventArgs

Arguments for the TargetProcessed event.

PolicyCategory

This is the non-generated part of the PolicyCategory class.

PolicyCategory.Key
PolicyCategoryCollection

This is the collection for Policy categories.

PolicyCategoryInformation

Information about a policy category.

PolicyCategorySubscription

This is the non-generated part of the PolicyCategorySubscription class.

PolicyCategorySubscription.Key
PolicyCategorySubscriptionCollection

This is the collection for PolicyCategorySubscriptions.

PolicyCollection

This is the collection for Policies.

PolicyEvaluationException
PolicyEvaluationResultsWriter

Writes evaluation histories into a single rooted xml document with a root element named PolicyEvaluationResults.

PolicyExtender

Decorator for the Policy object. Used add additional properties to the base Policy object

PolicyStore

The PolicyStore object is the root object for the DMF hierarchy.

PolicyStore.Key
PolicyStoreUpgradeSession
PostConfigurationActionAttribute

Custom attribute which describes post actions required for property configuration.

RestartPendingException

base class for generic RestartPendingException we need to create this so we can catch all exceptions of this form

RestartPendingException<T>

This exception gets thrown when value specified for a string property is longer than maximum length for that property

StringPropertyTooLongException

This exception gets thrown when value specified for a string property is longer than maximum length for that property

TargetEvaluation
TargetSet

This is the non-generated part of the TargetSet class.

TargetSet.Key
TargetSetCollection

This is the collection for TargetSet.

TargetSetCountMismatchException

This exception is thrown when the TargetSets collection created automatically by the ObjectSet has been tampered with.

TargetSetLevel

This is the non-generated part of the TargetSetLevel class.

TargetSetLevel.Key
TargetSetLevelCollection

This is the collection for TargetSet.

TypeConversionException

This exception gets thrown when ExpressionNode deserialize encounters unxpected xml-node

UnsupportedObjectTypeException
UnsupportedTargetSetForFacetException

This exception is thrown when the TargetSets collection created automatically by the ObjectSet has been tampered with and an unsupported target type has been defined for the given facet

UnsupportedTypeException

This exception gets thrown when ExpressionNode deserialize encounters an unexpected xml-node

Utils

Class that provides various utilities. Public because UI modules also needs some methods here

Enums

AdHocPolicyEvaluationMode

The AdHocPolicyEvaluationMode bit flag enum provides the execution mode for a policy that is "run now".

AutomatedPolicyEvaluationMode

Possible Evaluation modes for automated policies

DmfExceptionType

Types of Dmf Exceptions

ExpressionNodeFunction.Function

Type of Function

ExpressionNodeType

Types of nodes in Expression Tree These are used for identification, not for creation of nodes

ExpressionSerializationException.ReaderActionType

XmlReader action

ImportPolicyEnabledState

The ImportPolicyEnabledState bit flag enum is used as a parameter to PolicyStore.ImportPolicy. It is used to set the imported Policy's Enabled property.

NameConditionType

Enumerates operators used in Name Conditions (expression: @Name operator 'object_name') None used for all other expressions

OperatorType

Operator Types

PolicyEffectiveState

The PolicyEffectiveState bit flag enum is used as the data table for the enumeration of policies on a particular target

PolicyHealthState

This enum is used to represent the policy health states. Note: We only use Critical and Unknown for now.

PolicyStore.EnumerationMode

Defines behavior towards IsSystemObject flag

PostConfigurationAction
TypeClass

Enum used for grouping System.Types into larger classes

Delegates

Policy.ConnectionProcessingFinishedEventHandler

Delegate that will be called when policy execution finishes for that connection.

Policy.ConnectionProcessingStartedEventHandler

Signals the start of policy execution for one connection.

Policy.PolicyEvaluationFinishedEventHandler

Delegate that will be called when policy execution finishes.

Policy.PolicyEvaluationStartedEventHandler

Signals the start of policy execution.

Policy.TargetProcessedEventHandler

Delegate for target execution