PolicyExtender Kelas

Definisi

Dekorator untuk objek Kebijakan. Digunakan untuk menambahkan properti tambahan ke objek Kebijakan dasar

public sealed class PolicyExtender : Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<Microsoft.SqlServer.Management.Dmf.Policy>
type PolicyExtender = class
    inherit SfcObjectExtender<Policy>
Public NotInheritable Class PolicyExtender
Inherits SfcObjectExtender(Of Policy)
Warisan
PolicyExtender

Konstruktor

Nama Deskripsi
PolicyExtender()

ctor default

PolicyExtender(Policy)

ctor. Mengambil objek Kebijakan induk untuk diagregasi

PolicyExtender(PolicyStore, String)

ctor. Buat objek Kebijakan baru dan agregat di atasnya.

Properti

Nama Deskripsi
Categories

Menyediakan daftar kategori yang tersedia

Category

Menerjemahkan properti string 'PolicyCategory' induk ke properti objek PolicyCategory

ConditionInstance

Menerjemahkan properti string 'Kondisi' induk ke dalam properti objek Kondisi

EnableRootRestriction

Nama akar objek kebijakan

Filters

Filter Saat Ini

OfflineMode

Mode offline atau tidak

Parent

Objek induk

(Diperoleh dari SfcObjectExtender<TSfcInstance>)
PolicyFilePath

Jalur File Kebijakan dalam mode offline

RootName

Nama akar objek kebijakan

SupportedPolicyEvaluationMode

Mengembalikan mode evaluasi yang didukung untuk Kondisi yang dipilih

Metode

Nama Deskripsi
GetParentSfcPropertySet()

Mengembalikan instans kumpulan properti induk

(Diperoleh dari SfcObjectExtender<TSfcInstance>)
GetPropertySet()

mengembalikan kumpulan properti

(Diperoleh dari SfcObjectExtender<TSfcInstance>)
OnPropertyChanged(String)

Peristiwa Fires PropertyChanged, ketika memiliki pelanggan

(Diperoleh dari SfcObjectExtender<TSfcInstance>)
OnPropertyMetadataChanged(String)

Peristiwa Fires PropertyMetadataChanged, ketika memiliki pelanggan

(Diperoleh dari SfcObjectExtender<TSfcInstance>)
parent_PropertyChanged(Object, PropertyChangedEventArgs)

Dekorator untuk objek Kebijakan. Digunakan untuk menambahkan properti tambahan ke objek Kebijakan dasar

(Diperoleh dari SfcObjectExtender<TSfcInstance>)
parent_PropertyMetadataChanged(Object, SfcPropertyMetadataChangedEventArgs)

Dekorator untuk objek Kebijakan. Digunakan untuk menambahkan properti tambahan ke objek Kebijakan dasar

(Diperoleh dari SfcObjectExtender<TSfcInstance>)
RegisterParentProperty(PropertyInfo)

Daftarkan properti induk, yang belum disertakan dalam koleksi properti (seperti 'Nama' di SMO atau koleksi

(Diperoleh dari SfcObjectExtender<TSfcInstance>)
RegisterProperty(PropertyInfo, String)

Daftarkan properti tercermin tambahan, tergantung pada properti dari objek induk

(Diperoleh dari SfcObjectExtender<TSfcInstance>)
RegisterProperty(PropertyInfo)

Mendaftarkan properti tercermin tambahan

(Diperoleh dari SfcObjectExtender<TSfcInstance>)

Acara

Nama Deskripsi
PropertyChanged

Dekorator untuk objek Kebijakan. Digunakan untuk menambahkan properti tambahan ke objek Kebijakan dasar

(Diperoleh dari SfcObjectExtender<TSfcInstance>)
PropertyMetadataChanged

Dekorator untuk objek Kebijakan. Digunakan untuk menambahkan properti tambahan ke objek Kebijakan dasar

(Diperoleh dari SfcObjectExtender<TSfcInstance>)

Berlaku untuk