ConnectionEvaluationHistory 类
The ConnectionEvaluationHistory object represents the information that is stored in the system catalogs to evaluate the policy on a specific instance of SQL Server.
继承层次结构
System. . :: . .Object
SfcInstance
Microsoft.SqlServer.Management.Dmf..::..ConnectionEvaluationHistory
命名空间: Microsoft.SqlServer.Management.Dmf
程序集: Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)
语法
声明
Public NotInheritable Class ConnectionEvaluationHistory _
Inherits SfcInstance
用法
Dim instance As ConnectionEvaluationHistory
public sealed class ConnectionEvaluationHistory : SfcInstance
public ref class ConnectionEvaluationHistory sealed : public SfcInstance
[<SealedAttribute>]
type ConnectionEvaluationHistory =
class
inherit SfcInstance
end
public final class ConnectionEvaluationHistory extends SfcInstance
ConnectionEvaluationHistory 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
ConnectionEvaluationHistory | Initializes a new instance of the ConnectionEvaluationHistory class. |
页首
属性
名称 | 说明 | |
---|---|---|
AbstractIdentityKey | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) | |
EvaluationDetails | Represents a collection of EvaluationDetail objects. Each EvaluationDetail object represents a record that contains the evaluation detail for a target. | |
EvaluationId | Gets the ID value that identifies the parent evaluation history record. | |
Exception | Gets the description of the exception, if one occurred. | |
ID | Gets the integer value that uniquely identifies the referenced connection evaluation history record. | |
IdentityKey | Gets the key value that is used to identify the connection evaluation history record. | |
Metadata | Returns metadata about the instance and its domain. (从 SfcInstance 继承。) | |
Parent | ||
Properties | Returns a collection instance properties. (从 SfcInstance 继承。) | |
PropertyStorageProvider | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) | |
Result | Gets the Boolean value that determines whether the policy executed successfully. | |
ServerInstance | Gets the instance of SQL Server to which this connection evaluation history record refers. | |
State | Returns the state of the SfcInstance object. (从 SfcInstance 继承。) | |
Urn | Returns the uniform resource name of the SfcInstance object. (从 SfcInstance 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
AlterImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) | |
CheckObjectCreated | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) | |
CheckObjectState | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) | |
CreateIdentityKey | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) | |
CreateImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) | |
Discover | (覆盖 SfcInstanceDiscover(ISfcDependencyDiscoveryObjectSink)。) | |
DropImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) | |
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetChildCollection | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) | |
GetDomain | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetObjectFactory | Gets the object factory for the referenced object. | |
GetPropertySet | Returns the set of properties for the SfcInstance object. (从 SfcInstance 继承。) | |
GetType | (从 Object 继承。) | |
GetTypeMetadataImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) | |
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 继承。) | |
Refresh | Refreshes the object's properties by reading them from the server. (从 SfcInstance 继承。) | |
RenameImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) | |
ResetKey | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) | |
Serialize | Serializes the instance to XML. (从 SfcInstance 继承。) | |
ToString | Returns a string representation of the instance Urn. (从 SfcInstance 继承。) | |
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 继承。) |
页首
注释
The evaluation history contains information for all the targets in the policy. However, the details of the evaluation for each instance of SQL Server are stored in ConnectionEvaluationHistory objects. Evaluation details for each target object are in the collection of EvaluationDetail objects that is referenced by the EvaluationDetails property.
The evaluation history detail for an instance of SQL Server is also in the syspolicy_policy_execution_history_details (Transact-SQL) system catalog.
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。