共用方式為


PSSessionConfiguration.GetMaximumReceivedObjectSize(PSSenderInfo) Method

Definition

Maximum size (in bytes) of a deserialized object received from a remote machine. If null, then the size is unlimited. Default is 10MB.

public:
 virtual Nullable<int> GetMaximumReceivedObjectSize(System::Management::Automation::Remoting::PSSenderInfo ^ senderInfo);
public virtual int? GetMaximumReceivedObjectSize (System.Management.Automation.Remoting.PSSenderInfo senderInfo);
abstract member GetMaximumReceivedObjectSize : System.Management.Automation.Remoting.PSSenderInfo -> Nullable<int>
override this.GetMaximumReceivedObjectSize : System.Management.Automation.Remoting.PSSenderInfo -> Nullable<int>
Public Overridable Function GetMaximumReceivedObjectSize (senderInfo As PSSenderInfo) As Nullable(Of Integer)

Parameters

senderInfo
PSSenderInfo

User Identity for which this information is requested

Returns

Applies to