Session.MaxMemory Property
Gets or sets the maximum memory in KB of the session.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
<SfcPropertyAttribute(Data := True)> _
Public Property MaxMemory As Integer
Get
Set
'Usage
Dim instance As Session
Dim value As Integer
value = instance.MaxMemory
instance.MaxMemory = value
[SfcPropertyAttribute(Data = true)]
public int MaxMemory { get; set; }
[SfcPropertyAttribute(Data = true)]
public:
property int MaxMemory {
int get ();
void set (int value);
}
[<SfcPropertyAttribute(Data = true)>]
member MaxMemory : int with get, set
function get MaxMemory () : int
function set MaxMemory (value : int)
Property Value
Type: System.Int32
An integer that specifies the maximum memory in KB.