PolicyCategory Constructor (PolicyStore, String)
Initializes a new instance of the PolicyCategory class.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public Sub New ( _
parent As PolicyStore, _
name As String _
)
'Usage
Dim parent As PolicyStore
Dim name As String
Dim instance As New PolicyCategory(parent, _
name)
public PolicyCategory(
PolicyStore parent,
string name
)
public:
PolicyCategory(
PolicyStore^ parent,
String^ name
)
new :
parent:PolicyStore *
name:string -> PolicyCategory
public function PolicyCategory(
parent : PolicyStore,
name : String
)
Parameters
- parent
Type: Microsoft.SqlServer.Management.Dmf.PolicyStore
A PolicyStore object value that specifies the policy store to which the policy category belongs.
- name
Type: System.String
A String value that specifies the name of the category.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.