Condition 생성자 (PolicyStore, String)
Initializes a new instance of the Policy class.
네임스페이스: Microsoft.SqlServer.Management.Dmf
어셈블리: Microsoft.SqlServer.Dmf(Microsoft.SqlServer.Dmf.dll)
구문
‘선언
Public Sub New ( _
parent As PolicyStore, _
name As String _
)
‘사용 방법
Dim parent As PolicyStore
Dim name As String
Dim instance As New Condition(parent, _
name)
public Condition(
PolicyStore parent,
string name
)
public:
Condition(
PolicyStore^ parent,
String^ name
)
new :
parent:PolicyStore *
name:string -> Condition
public function Condition(
parent : PolicyStore,
name : String
)
매개 변수
- parent
유형: Microsoft.SqlServer.Management.Dmf. . :: . .PolicyStore
A Policy object value that specifies the policy store to which the condition belongs.
- name
유형: System. . :: . .String
A String value that specifies the name of the condition.
예
C#
Condition c = new Condition(ps, conditionName);
c.Facet = facet;
c.ExpressionNode = exprNode;
c.Create();
VB
Dim c As Condition
c = New Condition(ps, conditionName)
c.Facet = facet
c.ExpressionNode = exprNode
c.Create()