JobServer.MaximumHistoryRows 属性
Gets or sets the maximum number of history rows retained.
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property MaximumHistoryRows As Integer
Get
Set
用法
Dim instance As JobServer
Dim value As Integer
value = instance.MaximumHistoryRows
instance.MaximumHistoryRows = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public int MaximumHistoryRows { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property int MaximumHistoryRows {
int get ();
void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member MaximumHistoryRows : int with get, set
function get MaximumHistoryRows () : int
function set MaximumHistoryRows (value : int)
属性值
类型:System.Int32
An Int32 value that specifies the maximum number of history rows retained.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo.Agent 命名空间