ExpressionNode 클래스

The ExpressionNode object represents a policy-based management expression node. The expression node describes part of an expression, such as a constant value, an operator, or a function.

네임스페이스:  Microsoft.SqlServer.Management.Dmf
어셈블리:  Microsoft.SqlServer.Dmf(Microsoft.SqlServer.Dmf.dll)

구문

‘선언
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public MustInherit Class ExpressionNode
‘사용 방법
Dim instance As ExpressionNode
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public abstract class ExpressionNode
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class ExpressionNode abstract
[<AbstractClassAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type ExpressionNode =  class end
public abstract class ExpressionNode

ExpressionNode 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
보호된 메서드 ExpressionNode Initializes a new instance of the ExpressionNode class.

맨 위로 이동

속성

  이름 설명
보호된 속성 LastEvaluationResult Gets or sets the result of the last evaluation.
공용 속성 Tag Gets the tag text that is associated with the expression node.
공용 속성 Type Gets the type of expression node.
공용 속성 TypeClass Gets the class type when the expression node represents a constant value or a variable.

맨 위로 이동

메서드

  이름 설명
공용 메서드정적 멤버 ConstructNode Creates a new expression node.
공용 메서드정적 멤버 ConvertFromFilterNode(FilterNode) Creates a new expression node by converting a filter node.
공용 메서드정적 멤버 ConvertFromFilterNode(FilterNode, Type) Creates a new expression node by converting a filter node.
보호된 메서드정적 멤버 ConvertFromString Converts a type from a string value.
공용 메서드 ConvertToFilterNode Creates a filter node by converting the expression node.
보호된 메서드정적 멤버 ConvertToIntWithCheck Converts the specified string to an integer.
보호된 메서드정적 멤버 ConvertToString Converts a type to a string value.
공용 메서드 DeepClone Creates a copy of the referenced object. This includes all its properties.
공용 메서드정적 멤버 Deserialize(String) Deserializes an expression node from a string.
공용 메서드정적 멤버 Deserialize(XmlReader) Deserializes an expression node from an XML reader.
보호된 메서드 DeserializeProperties Deserializes the properties in the expression from an XML reader.
보호된 메서드 DeserializeResult Deserializes the property results in the expression from an XML reader.
공용 메서드정적 멤버 DeserializeWithResult Deserializes the expression node from a text string.
보호된 메서드 DoConvertToFilterNode Allows the conversion of expression node to filter mode.
보호된 메서드 DoEnumAttributes Deserializes the expression node from a list of text strings.
공용 메서드 EnumChildren Returns an enumerated list of dependent expression nodes.
보호된 메서드 EqualProperties Determines whether the properties of the specified object are equal to the properties of the current expression node.
공용 메서드 Equals Returns a Boolean value that specifies whether the referenced expression node object is equal to the specified object. (Object. . :: . .Equals(Object)을(를) 재정의함)
공용 메서드 Evaluate(FacetEvaluationContext) Evaluates the expression node with the given facet context.
공용 메서드 Evaluate(FacetEvaluationContext, Boolean) Evaluates the expression node with the given facet context and checks the script as a proxy.
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode Gets the hash code for the object. (Object. . :: . .GetHashCode() () () ()을(를) 재정의함)
공용 메서드 GetResult Gets the result that is returned when an expression is deserialized.
공용 메서드 GetResultString Gets the result in string format that is returned when an expression is deserialized.
공용 메서드 GetType (Object에서 상속됨)
공용 메서드정적 멤버 MatchType< (Of < <' (T> ) > > ) Indicates the type of match to be used in the node.
보호된 메서드 MemberwiseClone (Object에서 상속됨)
보호된 메서드정적 멤버 MoveToElementWithCheck Moves the reader to the element with check.
공용 메서드정적 멤버 Parse(String) Parses the specified expression string.
공용 메서드정적 멤버 Parse(String, Type) Parses the specified string.
보호된 메서드정적 멤버 ReadElementWithCheck Reads a named serialized element using the XML Reader and returns the value.
보호된 메서드 ReadEndElement Reads the end element in the expression node.
보호된 메서드정적 멤버 ReadNodeWithCheck Reads the specified node with a checkmark.
보호된 메서드정적 멤버 ReadSimpleNodeWithCheck Reads the specified elements, evaluated with the given expression node type, and read with the specified XML reader.
보호된 메서드정적 멤버 ReadWithCheck Reads the expression node using the XML Reader.
보호된 메서드정적 멤버 ResolveEnum Resolves the enumeration conflicts encountered during the process.
공용 메서드 Serialize Serializes the expression node to the specified XML Writer.
공용 메서드정적 멤버 SerializeNode Serializes the expression node to a text string.
공용 메서드정적 멤버 SerializeNodeWithResult Serializes the expression node to a text string.
보호된 메서드 SerializeProperties Serializes the properties in the expression to an XML writer.
보호된 메서드 SerializeResult Serializes the result in the expression node.
보호된 메서드 SetFilterNodeCompatible Sets the compatible filter node of the Boolean property.
보호된 메서드 SetHasScript Sets the Boolean value for the HasScript property.
보호된 메서드 SetNameConditionType Sets the name of the condition type property.
보호된 메서드 SetNodeType Indicates the type of node to be set.
보호된 메서드 SetObjectName Sets the name of the expression node.
보호된 메서드 SetProperties Sets property values.
보호된 메서드 SetTypeClass Sets type class for the expression node.
공용 메서드 ToString Returns the referenced object in string format. (Object. . :: . .ToString() () () ()을(를) 재정의함)
공용 메서드 ToStringForDisplay Returns the referenced object in string format for display.
공용 메서드 ToStringForUrn Returns the referenced object in URN format.

맨 위로 이동

주의

The expression node represents the conditional state that is applied to the facet. For example, if the facet is Database Mail, then the expression could be "is installed" or "is not installed". There are different types of expression that are individually represented using the Type()()()() property and each of these are represented in more detail with specific types, such as ExpressionNodeFunction or ExpressionNodeConstant.

Using the ExpressionNode object you can:

  • Create, modify, or delete an expression node that applies to the facet on a target object.

  • Parse the expression string to create a valid expression for the facet.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.