PolicyCategory 建構函式 (PolicyStore, String)
Initializes a new instance of the PolicyCategory 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 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
)
參數
- parent
型別:Microsoft.SqlServer.Management.Dmf. . :: . .PolicyStore
A PolicyStore object value that specifies the policy store to which the policy category belongs.
- name
型別:System. . :: . .String
A String value that specifies the name of the category.
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。