共用方式為


GetCounterCommand.MaxSamples Property

Definition

public:
 property long MaxSamples { long get(); void set(long value); };
public:
 property long long MaxSamples { long long get(); void set(long long value); };
public long MaxSamples { get; set; }
[System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", ParameterSetName="GetCounterSet", ValueFromPipeline=false, ValueFromPipelineByPropertyName=false)]
[System.Management.Automation.ValidateRange(1, 9223372036854775807)]
public long MaxSamples { get; set; }
member this.MaxSamples : int64 with get, set
[<System.Management.Automation.Parameter(HelpMessageBaseName="GetEventResources", ParameterSetName="GetCounterSet", ValueFromPipeline=false, ValueFromPipelineByPropertyName=false)>]
[<System.Management.Automation.ValidateRange(1, 9223372036854775807)>]
member this.MaxSamples : int64 with get, set
Public Property MaxSamples As Long

Property Value

Attributes

Applies to