共用方式為


Condition 建構函式

Initializes a new instance of the Condition class.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public Sub New
'用途

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

備註

The default constructor initializes any fields to their default values.

範例

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()