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


Класс ExpressionNodeAttribute

The ExpressionNodeAttribute object represents an attribute of a policy-based management expression node.

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

System.Object
  Microsoft.SqlServer.Management.Dmf.ExpressionNode
    Microsoft.SqlServer.Management.Dmf.ExpressionNodeAttribute

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

Синтаксис

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

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

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

  Имя Описание
Открытый метод ExpressionNodeAttribute(String) Initializes a new instance of the ExpressionNodeAttribute class that has the specified name.
Открытый метод ExpressionNodeAttribute(String, Type) Initializes a new instance of the ExpressionNodeAttribute class that has the specified name and type.

В начало

Свойства

  Имя Описание
Открытое свойство Name Gets the name of the expression node attribute.
Открытое свойство 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.)

В начало

Методы

  Имя Описание
Открытый метод ConvertToFilterNode Creates a filter node by converting the expression node. (Производный от ExpressionNode.)
Открытый метод DeepClone Returns a copy of the expression node including properties. (Переопределяет ExpressionNode.DeepClone().)
Открытый метод EnumChildren Returns an enumerated list of dependent expression nodes. (Производный от ExpressionNode.)
Открытый метод 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.)
Открытый метод 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.)
Открытый метод Serialize Serializes the expression node to the specified XML Writer. (Производный от ExpressionNode.)
Открытый метод ToString Gets the expression node attribute in string format. (Переопределяет ExpressionNode.ToString().)
Открытый метод ToStringForDisplay Gets the expression node attribute in string format with display formatting. (Переопределяет ExpressionNode.ToStringForDisplay().)
Открытый метод ToStringForUrn Returns the referenced object in URN format. (Производный от ExpressionNode.)

В начало

Замечания

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

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

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

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Dmf