Propriété Session.MemoryPartitionMode
Gets or sets the memory partition mode from an enumeration with options for perNode, perCpu, or none.
Espace de noms : Microsoft.SqlServer.Management.XEvent
Assembly : Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute(Data := True)> _
Public Property MemoryPartitionMode As Session.MemoryPartitionModeEnum
Get
Set
'Utilisation
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)
Valeur de propriété
Type : Microsoft.SqlServer.Management.XEvent.Session.MemoryPartitionModeEnum
The memory partition mode.
Exceptions
Exception | Condition |
---|---|
XEventException | The MemoryPartitionMode is set to an unknown value. |