Condition 类

The Condition object represents a policy-based management condition.

继承层次结构

System. . :: . .Object
  SfcInstance
    Microsoft.SqlServer.Management.Dmf..::..Condition

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
Public NotInheritable Class Condition _
    Inherits SfcInstance _
    Implements ISfcCreatable, ICreatable, ISfcDroppable, IDroppable,  _
    ISfcAlterable, IAlterable, ISfcRenamable, IRenamable, ISfcValidate
用法
Dim instance As Condition
public sealed class Condition : SfcInstance, 
    ISfcCreatable, ICreatable, ISfcDroppable, IDroppable, ISfcAlterable, 
    IAlterable, ISfcRenamable, IRenamable, ISfcValidate
public ref class Condition sealed : public SfcInstance, 
    ISfcCreatable, ICreatable, ISfcDroppable, IDroppable, ISfcAlterable, 
    IAlterable, ISfcRenamable, IRenamable, ISfcValidate
[<SealedAttribute>]
type Condition =  
    class
        inherit SfcInstance
        interface ISfcCreatable
        interface ICreatable
        interface ISfcDroppable
        interface IDroppable
        interface ISfcAlterable
        interface IAlterable
        interface ISfcRenamable
        interface IRenamable
        interface ISfcValidate
    end
public final class Condition extends SfcInstance implements ISfcCreatable, ICreatable, ISfcDroppable, IDroppable, ISfcAlterable, IAlterable, ISfcRenamable, IRenamable, ISfcValidate

Condition 类型公开以下成员。

构造函数

  名称 说明
公共方法 Condition() () () () Initializes a new instance of the Condition class.
公共方法 Condition(PolicyStore, String) Initializes a new instance of the Policy class.

页首

属性

  名称 说明
受保护属性 AbstractIdentityKey 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。)
公共属性 CreateDate Gets the date and time when the condition was created.
公共属性 CreatedBy Gets the authentication credentials of the user who created the condition.
公共属性 DateModified Gets the date and time when the condition was last modified.
公共属性 Description Gets or sets the descriptions of the condition.
公共属性 ExpressionNode Gets or sets the type of expression that the condition uses.
公共属性 Facet Gets or sets the facet that is associated with the condition.
公共属性 HasScript Gets the Boolean value that specifies whether the condition has a script.
公共属性 ID Gets the ID value that uniquely identifies the condition.
公共属性 IdentityKey
公共属性 IsEnumerable Gets the Boolean value that specifies whether the condition is enumerable.
公共属性 Metadata Returns metadata about the instance and its domain. (从 SfcInstance 继承。)
公共属性 ModifiedBy Gets the authentication credentials of the user who last modified the condition.
公共属性 Name Gets the name of the facet.
公共属性 Parent Gets or sets the object that is the parent of the referenced object.
公共属性 Properties Returns a collection instance properties. (从 SfcInstance 继承。)
受保护属性 PropertyStorageProvider 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。)
受保护属性 State Returns the state of the SfcInstance object. (从 SfcInstance 继承。)
公共属性 Urn Returns the uniform resource name of the SfcInstance object. (从 SfcInstance 继承。)

页首

方法

  名称 说明
公共方法 Alter Updates any Condition object property changes on the instance of SQL Server.
受保护方法 AlterImpl 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。)
受保护方法 CheckObjectCreated 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。)
受保护方法 CheckObjectState 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。)
公共方法 Create
受保护方法 CreateIdentityKey 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。)
受保护方法 CreateImpl 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。)
公共方法 Discover (覆盖 SfcInstanceDiscover(ISfcDependencyDiscoveryObjectSink)。)
公共方法 Drop Removes the condition from the instance of SQL Server.
受保护方法 DropImpl 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。)
公共方法 EnumDependentPolicies Returns a collection of polices that are dependent on the condition.
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
受保护方法 GetChildCollection 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。)
公共方法 GetDomain 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法静态成员 GetObjectFactory Gets the object factory for the object.
公共方法 GetPropertySet Returns the set of properties for the SfcInstance object. (从 SfcInstance 继承。)
公共方法 GetSupportedEvaluationMode
公共方法 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 继承。)
公共方法 Rename Renames the condition tothe specified name.
受保护方法 RenameImpl 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。)
受保护方法 ResetKey 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。)
公共方法 ScriptAlter
公共方法 ScriptCreate
公共方法 ScriptDrop
公共方法 Serialize Serializes the instance to XML. (从 SfcInstance 继承。)
公共方法 ToString Returns a string representation of the instance Urn. (从 SfcInstance 继承。)
受保护方法 UpdateUIPropertyState 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。)
受保护方法 Validate()()()() 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。)
公共方法 Validate(String) Validates the condition using the given mode.

页首

事件

  名称 说明
受保护事件 propertyChanged 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。)
公共事件 PropertyChanged CLS-compliant event for property changes. (从 SfcInstance 继承。)
受保护事件 propertyMetadataChanged 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。)
公共事件 PropertyMetadataChanged CLS-compliant event for property metadata changes. (从 SfcInstance 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 ISfcRenamableRename
显式接口实现私有方法 ISfcRenamableScriptRename
显式接口实现私有方法 ISfcValidateValidate

页首

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。