Policy constructeur (PolicyStore, String)
Initializes a new instance of the Policy class.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (dans Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
Public Sub New ( _
parent As PolicyStore, _
name As String _
)
'Utilisation
Dim parent As PolicyStore
Dim name As String
Dim instance As New Policy(parent, _
name)
public Policy(
PolicyStore parent,
string name
)
public:
Policy(
PolicyStore^ parent,
String^ name
)
new :
parent:PolicyStore *
name:string -> Policy
public function Policy(
parent : PolicyStore,
name : String
)
Paramètres
- parent
Type : Microsoft.SqlServer.Management.Dmf. . :: . .PolicyStore
A PolicyStore object value that specifies the policy store to which the policy belongs.
- name
Type : System. . :: . .String
A String value that specifies the name of the policy.
Notes
Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.
Voir aussi