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


Класс ExpressionNodeFunction

The ExpressionNodeFunction object represents part of a policy-based management expression that is a function.

Иерархия наследования

System. . :: . .Object
  Microsoft.SqlServer.Management.Dmf. . :: . .ExpressionNode
    Microsoft.SqlServer.Management.Dmf. . :: . .ExpressionNodeChildren
      Microsoft.SqlServer.Management.Dmf..::..ExpressionNodeFunction

Пространство имен:  Microsoft.SqlServer.Management.Dmf
Сборка:  Microsoft.SqlServer.Dmf (в Microsoft.SqlServer.Dmf.dll)

Синтаксис

'Декларация
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class ExpressionNodeFunction _
    Inherits ExpressionNodeChildren
'Применение
Dim instance As ExpressionNodeFunction
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class ExpressionNodeFunction : ExpressionNodeChildren
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class ExpressionNodeFunction sealed : public ExpressionNodeChildren
[<SealedAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type ExpressionNodeFunction =  
    class
        inherit ExpressionNodeChildren
    end
public final class ExpressionNodeFunction extends ExpressionNodeChildren

Тип ExpressionNodeFunction обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод ExpressionNodeFunction Initializes a new instance of the ExpressionNodeFunction class that has the specified function and arguments.

В начало

Свойства

  Имя Описание
Защищенное свойство ChildrenList Gets or sets a list of dependent child expression nodes. (Производный от ExpressionNodeChildren.)
Открытое свойство Count Gets the number of child expression nodes that are dependent on the parent node. (Производный от ExpressionNodeChildren.)
Открытое свойство EnumerableChildrenList Gets an enumerable list of dependent child expression nodes. (Производный от ExpressionNodeChildren.)
Открытое свойствоСтатический элемент FunctionsDefinitions Gets the function definitions.
Открытое свойство FunctionType Gets the type of function.
Защищенное свойство LastEvaluationResult Gets or sets the result of the last evaluation. (Производный от ExpressionNode.)
Открытое свойство ReturnType Gets the type that is returned by the function.
Открытое свойство Tag Gets the tag text that is associated with the expression node. (Производный от ExpressionNode.)
Открытое свойство Type Gets the type of expression node. (Производный от ExpressionNode.)
Открытое свойство TypeClass Gets the class type when the expression node represents a constant value or a variable. (Производный от ExpressionNode.)

В начало

Методы

  Имя Описание
Защищенный метод Add Gets the number of child expression nodes that are dependent on the parent node. (Производный от ExpressionNodeChildren.)
Открытый метод ConvertToFilterNode Creates a filter node by converting the expression node. (Производный от ExpressionNode.)
Открытый метод DeepClone Creates a copy of the expression node including properties. (Переопределяет ExpressionNode. . :: . .DeepClone() () () ().)
Защищенный метод DeserializeProperties Deserializes the properties in the expression from an XML reader. (Производный от ExpressionNodeChildren.)
Защищенный метод DeserializeResult Deserializes the property results in the expression from an XML reader. (Производный от ExpressionNode.)
Защищенный метод DoConvertToFilterNode Allows the conversion of expression node to filter mode. (Производный от ExpressionNode.)
Защищенный метод DoEnumAttributes Populates the specified list with attributes associated with the expression node. (Производный от ExpressionNodeChildren.)
Открытый метод EnumChildren Returns an enumerated list of the children listed in this object. (Производный от ExpressionNodeChildren.)
Защищенный метод EqualProperties Determines whether the specified object has equal properties to the referenced object. (Производный от ExpressionNodeChildren.)
Открытый метод Equals Returns a Boolean value that specifies whether the referenced expression node object is equal to the specified object. (Производный от ExpressionNode.)
Открытый метод Evaluate(FacetEvaluationContext) Evaluates the expression node with the given facet context. (Производный от ExpressionNode.)
Открытый метод Evaluate(FacetEvaluationContext, Boolean) Evaluates the expression node with the given facet context and checks the script as a proxy. (Производный от ExpressionNode.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode Gets the hash code for the object. (Производный от ExpressionNode.)
Открытый метод GetResult Gets the result that is returned when an expression is deserialized. (Производный от ExpressionNode.)
Открытый метод GetResultString Gets the result in string format that is returned when an expression is deserialized. (Производный от ExpressionNode.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Защищенный метод ReadEndElement Reads the end element in the expression node. (Производный от ExpressionNode.)
Открытый метод Serialize Serializes the expression node to the specified XML Writer. (Производный от ExpressionNode.)
Защищенный метод SerializeProperties (Производный от ExpressionNodeChildren.)
Защищенный метод SerializeResult Serializes the result in the expression node. (Производный от ExpressionNode.)
Защищенный метод SetFilterNodeCompatible Sets the compatible filter node of the Boolean property. (Производный от ExpressionNode.)
Защищенный метод SetHasScript Sets the Boolean value for the HasScript property. (Производный от ExpressionNode.)
Защищенный метод SetNameConditionType Sets the name of the condition type property. (Производный от ExpressionNode.)
Защищенный метод SetNodeType Indicates the type of node to be set. (Производный от ExpressionNode.)
Защищенный метод SetObjectName Sets the name of the expression node. (Производный от ExpressionNode.)
Защищенный метод SetProperties Sets property values. (Производный от ExpressionNode.)
Защищенный метод SetTypeClass Sets type class for the expression node. (Производный от ExpressionNode.)
Открытый метод ToString Returns a string that represents the ExpressionNodeFunction object. (Переопределяет ExpressionNodeChildren. . :: . .ToString() () () ().)
Открытый метод ToStringForDisplay Returns the function as a string formatted for display. (Переопределяет ExpressionNode. . :: . .ToStringForDisplay() () () ().)
Открытый метод ToStringForUrn Returns the referenced object in URN format. (Производный от ExpressionNode.)

В начало

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.