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.
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。