PolicyCategorySubscription Constructor (PolicyStore, SqlSmoObject)
Initializes a new instance of the PolicyCategorySubscription class that has the specified parent policy store, and is based on the specified object.
Espacio de nombres: Microsoft.SqlServer.Management.Dmf
Ensamblado: Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Sintaxis
'Declaración
Public Sub New ( _
parent As PolicyStore, _
obj As SqlSmoObject _
)
'Uso
Dim parent As PolicyStore
Dim obj As SqlSmoObject
Dim instance As New PolicyCategorySubscription(parent, _
obj)
public PolicyCategorySubscription(
PolicyStore parent,
SqlSmoObject obj
)
public:
PolicyCategorySubscription(
PolicyStore^ parent,
SqlSmoObject^ obj
)
new :
parent:PolicyStore *
obj:SqlSmoObject -> PolicyCategorySubscription
public function PolicyCategorySubscription(
parent : PolicyStore,
obj : SqlSmoObject
)
Parámetros
- parent
Tipo: Microsoft.SqlServer.Management.Dmf. . :: . .PolicyStore
A PolicyStore object value that specifies the policy store to which the policy belongs.
- obj
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
A SqlSmoObject value that specifies the object on which the category is based.
Comentarios
Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.