Share via


PolicyStore Constructor

Initializes a new instance of the PolicyStore class.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New PolicyStore()
public PolicyStore()
public:
PolicyStore()
new : unit -> PolicyStore
public function PolicyStore()

Remarks

The default constructor initializes any fields to their default values.

Examples

VC#

PolicyStore policyStore;
policyStore = new PolicyStore();

VB

Dim policyStore As PolicyStore 
policyStore = New PolicyStore()

PowerShell

$PolicyStore = New-Object Microsoft.SqlServer.Management.Dmf.PolicyStore()