Class SessionVariableChanged
Notify clients about changes to the current session variables.
Every change to a variable that is accessible through:
@code{sql}
SHOW SESSION VARIABLES
@endcode
@ref Mysqlx::Notice::Frame Field |
Value |
.type |
2 |
.scope |
local |
Inheritance
System.Object
SessionVariableChanged
Implements
Google.Protobuf.IBufferMessage
Assembly: MySql.Data.dll
Version: 9.2.0
Syntax
public sealed class SessionVariableChanged : Google.Protobuf.IMessage<SessionVariableChanged>
Constructors
SessionVariableChanged()
Declaration
public SessionVariableChanged()
SessionVariableChanged(SessionVariableChanged)
Declaration
public SessionVariableChanged(SessionVariableChanged other)
Parameters
Fields
ParamFieldNumber
Field number for the "param" field.
Declaration
public const int ParamFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
ValueFieldNumber
Field number for the "value" field.
Declaration
public const int ValueFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
Properties
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
HasParam
Gets whether the "param" field is set
Declaration
public bool HasParam { get; }
Property Value
Type |
Description |
System.Boolean |
|
Param
Declaration
public string Param { get; set; }
Property Value
Type |
Description |
System.String |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<SessionVariableChanged> Parser { get; }
Property Value
Value
- the changed value of param
Declaration
public Scalar Value { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
ClearParam()
Clears the value of the "param" field
Declaration
Clone()
Declaration
public SessionVariableChanged Clone()
Returns
Equals(SessionVariableChanged)
Declaration
public bool Equals(SessionVariableChanged other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
MergeFrom(SessionVariableChanged)
Declaration
public void MergeFrom(SessionVariableChanged other)
Parameters
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
WriteTo(Google.Protobuf.CodedOutputStream)
Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|
Implements
Google.Protobuf.IBufferMessage