MaximumValue 属性

Represents the maximum value for the replication agent parameter.

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

语法

声明
Public Property MaximumValue As Integer
    Get
    Set
用法
Dim instance As AgentProfileParameterInfo
Dim value As Integer

value = instance.MaximumValue

instance.MaximumValue = value
public int MaximumValue { get; set; }
public:
property int MaximumValue {
    int get ();
    void set (int value);
}
member MaximumValue : int with get, set
function get MaximumValue () : int
function set MaximumValue (value : int)

属性值

类型:System. . :: . .Int32
An Int32 value.

注释

You must check the NoMaximumValue property before calling the MaximumValue property to make sure that a maximum value exists. If no maximum exists, this property raises an exception.

This namespace, class, or member is supported only in the .NET Framework 2.0.