Share via


Condition Constructor

Initializes a new instance of the Condition class.

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

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New Condition()
public Condition()
public:
Condition()
new : unit -> Condition
public function Condition()

Remarks

The default constructor initializes any fields to their default values.

Examples

C#

Condition c = new Condition
c.Parent = ps;
c.Name = conditionName;
c.Facet = facet;
c.ExpressionNode = exprNode;
c.Create();

VB

Dim c As Condition
c = New Condition
c.Parent = ps
c.Name = conditionName
c.Facet = facet
c.ExpressionNode = exprNode
c.Create()