Session.MemoryPartitionMode Property
Gets or sets the memory partition mode from an enumeration with options for perNode, perCpu, or none.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
<SfcPropertyAttribute(Data := True)> _
Public Property MemoryPartitionMode As Session.MemoryPartitionModeEnum
Get
Set
'Usage
Dim instance As Session
Dim value As Session.MemoryPartitionModeEnum
value = instance.MemoryPartitionMode
instance.MemoryPartitionMode = value
[SfcPropertyAttribute(Data = true)]
public Session.MemoryPartitionModeEnum MemoryPartitionMode { get; set; }
[SfcPropertyAttribute(Data = true)]
public:
property Session.MemoryPartitionModeEnum MemoryPartitionMode {
Session.MemoryPartitionModeEnum get ();
void set (Session.MemoryPartitionModeEnum value);
}
[<SfcPropertyAttribute(Data = true)>]
member MemoryPartitionMode : Session.MemoryPartitionModeEnum with get, set
function get MemoryPartitionMode () : Session.MemoryPartitionModeEnum
function set MemoryPartitionMode (value : Session.MemoryPartitionModeEnum)
Property Value
Type: Microsoft.SqlServer.Management.XEvent.Session.MemoryPartitionModeEnum
The memory partition mode.
Exceptions
Exception | Condition |
---|---|
XEventException | The MemoryPartitionMode is set to an unknown value. |