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(SfcPropertyFlags.Standalone)> _
Public Property PerfMonMode As PerfMonMode 
    Get 
    Set
'Usage
Dim instance As Settings 
Dim value As PerfMonMode 

value = instance.PerfMonMode

instance.PerfMonMode = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public PerfMonMode PerfMonMode { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property PerfMonMode PerfMonMode {
    PerfMonMode get ();
    void set (PerfMonMode value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
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.

Examples

Configuring SQL Server in SMO

See Also

Reference

Settings Class

Microsoft.SqlServer.Management.Smo Namespace