Dela via


ExpressionNodeAttribute Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class ExpressionNodeAttribute _
    Inherits ExpressionNode
'Usage
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

The ExpressionNodeAttribute type exposes the following members.

Constructors

  Name Description
Public method ExpressionNodeAttribute(String) Initializes a new instance of the ExpressionNodeAttribute class that has the specified name.
Public method ExpressionNodeAttribute(String, Type) Initializes a new instance of the ExpressionNodeAttribute class that has the specified name and type.

Top

Properties

  Name Description
Protected property LastEvaluationResult Gets or sets the result of the last evaluation. (Inherited from ExpressionNode.)
Public property Name Gets the name of the expression node attribute.
Public property Tag Gets the tag text that is associated with the expression node. (Inherited from ExpressionNode.)
Public property Type Gets the type of expression node. (Inherited from ExpressionNode.)
Public property TypeClass Gets the class type when the expression node represents a constant value or a variable. (Inherited from ExpressionNode.)

Top

Methods

  Name Description
Public method ConvertToFilterNode Creates a filter node by converting the expression node. (Inherited from ExpressionNode.)
Public method DeepClone Returns a copy of the expression node including properties. (Overrides ExpressionNode.DeepClone().)
Protected method DeserializeProperties Deserializes the properties in the expression from an XML reader. (Inherited from ExpressionNode.)
Protected method DeserializeResult Deserializes the property results in the expression from an XML reader. (Inherited from ExpressionNode.)
Protected method DoConvertToFilterNode Allows the conversion of expression node to filter mode. (Inherited from ExpressionNode.)
Protected method DoEnumAttributes Deserializes the expression node from a list of text strings. (Inherited from ExpressionNode.)
Public method EnumChildren Returns an enumerated list of dependent expression nodes. (Inherited from ExpressionNode.)
Protected method EqualProperties Determines whether the properties of the specified object are equal to the properties of the current expression node. (Inherited from ExpressionNode.)
Public method Equals Returns a Boolean value that specifies whether the referenced expression node object is equal to the specified object. (Inherited from ExpressionNode.)
Public method Evaluate(FacetEvaluationContext) Evaluates the expression node with the given facet context. (Inherited from ExpressionNode.)
Public method Evaluate(FacetEvaluationContext, Boolean) Evaluates the expression node with the given facet context and checks the script as a proxy. (Inherited from ExpressionNode.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Gets the hash code for the object. (Inherited from ExpressionNode.)
Public method GetResult Gets the result that is returned when an expression is deserialized. (Inherited from ExpressionNode.)
Public method GetResultString Gets the result in string format that is returned when an expression is deserialized. (Inherited from ExpressionNode.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method ReadEndElement Reads the end element in the expression node. (Inherited from ExpressionNode.)
Public method Serialize Serializes the expression node to the specified XML Writer. (Inherited from ExpressionNode.)
Protected method SerializeProperties Serializes the properties in the expression to an XML writer. (Inherited from ExpressionNode.)
Protected method SerializeResult Serializes the result in the expression node. (Inherited from ExpressionNode.)
Protected method SetFilterNodeCompatible Sets the compatible filter node of the Boolean property. (Inherited from ExpressionNode.)
Protected method SetHasScript Sets the Boolean value for the HasScript property. (Inherited from ExpressionNode.)
Protected method SetNameConditionType Sets the name of the condition type property. (Inherited from ExpressionNode.)
Protected method SetNodeType Indicates the type of node to be set. (Inherited from ExpressionNode.)
Protected method SetObjectName Sets the name of the expression node. (Inherited from ExpressionNode.)
Protected method SetProperties Sets property values. (Inherited from ExpressionNode.)
Protected method SetTypeClass Sets type class for the expression node. (Inherited from ExpressionNode.)
Public method ToString Gets the expression node attribute in string format. (Overrides ExpressionNode.ToString().)
Public method ToStringForDisplay Gets the expression node attribute in string format with display formatting. (Overrides ExpressionNode.ToStringForDisplay().)
Public method ToStringForUrn Returns the referenced object in URN format. (Inherited from ExpressionNode.)

Top

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.