PolicyStore 类
The PolicyStore object represents a policy-based Management policy store that holds information about policies, conditions, object sets, and subscriptions.
继承层次结构
System. . :: . .Object
SfcInstance
Microsoft.SqlServer.Management.Dmf..::..PolicyStore
命名空间: Microsoft.SqlServer.Management.Dmf
程序集: Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)
语法
声明
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
Public NotInheritable Class PolicyStore _
Inherits SfcInstance _
Implements ISfcAlterable, IAlterable, ISfcDomain, ISfcHasConnection, _
ISfcSerializableUpgrade, ISfcValidate
用法
Dim instance As PolicyStore
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public sealed class PolicyStore : SfcInstance,
ISfcAlterable, IAlterable, ISfcDomain, ISfcHasConnection, ISfcSerializableUpgrade,
ISfcValidate
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public ref class PolicyStore sealed : public SfcInstance,
ISfcAlterable, IAlterable, ISfcDomain, ISfcHasConnection, ISfcSerializableUpgrade,
ISfcValidate
[<SealedAttribute>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
type PolicyStore =
class
inherit SfcInstance
interface ISfcAlterable
interface IAlterable
interface ISfcDomain
interface ISfcHasConnection
interface ISfcSerializableUpgrade
interface ISfcValidate
end
public final class PolicyStore extends SfcInstance implements ISfcAlterable, IAlterable, ISfcDomain, ISfcHasConnection, ISfcSerializableUpgrade, ISfcValidate
PolicyStore 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
PolicyStore() () () () | Initializes a new instance of the PolicyStore class. |
![]() |
PolicyStore(SfcConnection) |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
AbstractIdentityKey | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
Conditions | Represents a collection of Condition objects. Each Condition object represents a policy-based Management condition. |
![]() |
Enabled | |
![]() ![]() |
Facets | Represents a collection of FacetInfo objects. Each FacetInfo object represents a policy-based Management registered facet. |
![]() |
HistoryRetentionInDays | |
![]() |
IdentityKey | |
![]() |
LogOnSuccess | |
![]() |
Metadata | Returns metadata about the instance and its ___domain. (从 SfcInstance 继承。) |
![]() |
Name | Gets the name of the policy store. |
![]() |
ObjectSets | Represents a collection of ObjectSet objects. Each ObjectSet object represents a policy-based Management object set. |
![]() |
Parent | Gets or sets the instance parent via the keychain. (从 SfcInstance 继承。) |
![]() |
Policies | Represents a collection of Policy objects. Each Policy object represents a policy-based Management policy. |
![]() |
PolicyCategories | Represents a collection of PolicyCategory objects. Each PolicyCategory object represents a policy-based Management policy category. |
![]() |
PolicyCategorySubscriptions | Represents a collection of PolicyCategorySubscription objects. Each PolicyCategorySubscription object represents a policy-based Management policy category subscription. |
![]() |
Properties | Returns a collection instance properties. (从 SfcInstance 继承。) |
![]() |
PropertyStorageProvider | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
SqlStoreConnection | |
![]() |
State | Returns the state of the SfcInstance object. (从 SfcInstance 继承。) |
![]() |
Urn | Returns the uniform resource name of the SfcInstance object. (从 SfcInstance 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Alter | |
![]() |
AlterImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
CheckObjectCreated | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
CheckObjectState | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
CreateIdentityKey | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
CreateImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
CreatePolicyFromFacet(SfcQueryExpression, String, String, String) | |
![]() |
CreatePolicyFromFacet(SfcQueryExpression, String, String, String, XmlWriter) | |
![]() |
CreatePolicyFromFacet(Object, String, String, String, XmlWriter) | |
![]() |
DeserializePolicy | Deserializes a single policy and its associated condition from the specified XML reader into the policy store. |
![]() |
Discover | (覆盖 SfcInstanceDiscover(ISfcDependencyDiscoveryObjectSink)。) |
![]() |
DropImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
EnumApplicablePolicies | |
![]() |
EnumApplicablePolicyCategories | |
![]() |
EnumConditionsOnFacet | Returns a list of conditions that are associated with the specified facet. |
![]() |
EnumPoliciesOnFacet | Returns a list of policies associated with the specified facet. |
![]() |
EnumPolicyCategories | Returns an enumerated list of policy category information. |
![]() |
EnumRootConditions | Returns a list of root conditions for the specified type. |
![]() ![]() |
EnumRootFacets | Returns a list of root facets for the specified type. |
![]() |
EnumTargetSetConditions | Returns a list of target set conditions for the specified type. |
![]() |
Equals | (从 Object 继承。) |
![]() |
EraseSystemHealthPhantomRecords | |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetAggregatedHealthState | |
![]() |
GetChildCollection | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
GetDomain | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetPropertySet | Returns the set of properties for the SfcInstance object. (从 SfcInstance 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
GetTypeMetadataImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
ImportPolicy | Imports a single policy and its associated condition from the given XML reader into the policy store. |
![]() |
InitializeUIPropertyState | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
MarkForDropImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
MarkRootAsConnected | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
MoveImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
OnPropertyMetadataChanges | Invoked whenever the effective value of any SfcInstance metadata is updated. (从 SfcInstance 继承。) |
![]() |
OnPropertyValueChanges | Invoked whenever the effective value of any SfcInstance property is updated. (从 SfcInstance 继承。) |
![]() |
PostAlter | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
PostCreate | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
PostDrop | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
PostMove | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
PostRename | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
PurgeHealthState() () () () | |
![]() |
PurgeHealthState(SfcQueryExpression) | |
![]() |
Refresh | Refreshes the object's properties by reading them from the server. (从 SfcInstance 继承。) |
![]() |
RenameImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
RepairPolicyAutomation | |
![]() |
ResetKey | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
ScriptAlter | |
![]() |
Serialize | Serializes the instance to XML. (从 SfcInstance 继承。) |
![]() |
StartSerializationUpgrade | Starts a serialization upgrade. |
![]() |
SubscribeToPolicyCategory | |
![]() |
ToString | Returns the PolicyStore object as a string value. (覆盖 SfcInstanceToString()()()()。) |
![]() |
UnsubscribeFromPolicyCategory | |
![]() |
UpdateUIPropertyState | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
Validate | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
页首
事件
名称 | 说明 | |
---|---|---|
![]() |
propertyChanged | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
PropertyChanged | CLS-compliant event for property changes. (从 SfcInstance 继承。) |
![]() |
propertyMetadataChanged | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
PropertyMetadataChanged | CLS-compliant event for property metadata changes. (从 SfcInstance 继承。) |
页首
显式接口实现
页首
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。