Share via


Settings.PerfMonMode Property

Gets the polling behavior of Performance Monitor on the instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property PerfMonMode As PerfMonMode
    Get
    Set
'Usage
Dim instance As Settings
Dim value As PerfMonMode

value = instance.PerfMonMode

instance.PerfMonMode = value
[SfcPropertyAttribute]
public PerfMonMode PerfMonMode { get; set; }
[SfcPropertyAttribute]
public:
property PerfMonMode PerfMonMode {
    PerfMonMode get ();
    void set (PerfMonMode value);
}
[<SfcPropertyAttribute>]
member PerfMonMode : PerfMonMode with get, set
function get PerfMonMode () : PerfMonMode
function set PerfMonMode (value : PerfMonMode)

Property Value

Type: Microsoft.SqlServer.Management.Smo.PerfMonMode
A PerfMonMode object that specifies the polling behavior in Performance Monitor.