共用方式為


PolicyStore 建構函式

Initializes a new instance of the PolicyStore class.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public Sub New
'用途

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

備註

The default constructor initializes any fields to their default values.

範例

VC#

PolicyStore policyStore;
policyStore = new PolicyStore();

VB

Dim policyStore As PolicyStore 
policyStore = New PolicyStore()

PowerShell

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