Partilhar via


Classe ExpressionNodeAttribute

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

Hierarquia de herança

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

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

Sintaxe

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

O tipo ExpressionNodeAttribute expõe os membros a seguir.

Construtores

  Nome Descrição
Método público ExpressionNodeAttribute(String) Initializes a new instance of the ExpressionNodeAttribute class that has the specified name.
Método público ExpressionNodeAttribute(String, Type) Initializes a new instance of the ExpressionNodeAttribute class that has the specified name and type.

Início

Propriedades

  Nome Descrição
Propriedade pública Name Gets the name of the expression node attribute.
Propriedade pública Tag Gets the tag text that is associated with the expression node. (Herdado de ExpressionNode.)
Propriedade pública Type Gets the type of expression node. (Herdado de ExpressionNode.)
Propriedade pública TypeClass Gets the class type when the expression node represents a constant value or a variable. (Herdado de ExpressionNode.)

Início

Métodos

  Nome Descrição
Método público ConvertToFilterNode Creates a filter node by converting the expression node. (Herdado de ExpressionNode.)
Método público DeepClone Returns a copy of the expression node including properties. (Substitui ExpressionNode.DeepClone().)
Método público EnumChildren Returns an enumerated list of dependent expression nodes. (Herdado de ExpressionNode.)
Método público Equals Returns a Boolean value that specifies whether the referenced expression node object is equal to the specified object. (Herdado de ExpressionNode.)
Método público Evaluate(FacetEvaluationContext) Evaluates the expression node with the given facet context. (Herdado de ExpressionNode.)
Método público Evaluate(FacetEvaluationContext, Boolean) Evaluates the expression node with the given facet context and checks the script as a proxy. (Herdado de ExpressionNode.)
Método público GetHashCode Gets the hash code for the object. (Herdado de ExpressionNode.)
Método público GetResult Gets the result that is returned when an expression is deserialized. (Herdado de ExpressionNode.)
Método público GetResultString Gets the result in string format that is returned when an expression is deserialized. (Herdado de ExpressionNode.)
Método público GetType (Herdado de Object.)
Método público Serialize Serializes the expression node to the specified XML Writer. (Herdado de ExpressionNode.)
Método público ToString Gets the expression node attribute in string format. (Substitui ExpressionNode.ToString().)
Método público ToStringForDisplay Gets the expression node attribute in string format with display formatting. (Substitui ExpressionNode.ToStringForDisplay().)
Método público ToStringForUrn Returns the referenced object in URN format. (Herdado de ExpressionNode.)

Início

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.SqlServer.Management.Dmf