Freigeben über


PerfMonMode-Eigenschaft

Gets or sets the PerfMonMode for an instance of SQL Server.

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Server_PerfMonModeDesc")> _
<DisplayNameKeyAttribute("Server_PerfMonModeName")> _
Property PerfMonMode As PerfMonMode
    Get
    Set
'Usage
Dim instance As IServerSettings
Dim value As PerfMonMode

value = instance.PerfMonMode

instance.PerfMonMode = value
[DisplayDescriptionKeyAttribute("Server_PerfMonModeDesc")]
[DisplayNameKeyAttribute("Server_PerfMonModeName")]
PerfMonMode PerfMonMode { get; set; }
[DisplayDescriptionKeyAttribute(L"Server_PerfMonModeDesc")]
[DisplayNameKeyAttribute(L"Server_PerfMonModeName")]
property PerfMonMode PerfMonMode {
    PerfMonMode get ();
    void set (PerfMonMode value);
}
[<DisplayDescriptionKeyAttribute("Server_PerfMonModeDesc")>]
[<DisplayNameKeyAttribute("Server_PerfMonModeName")>]
abstract PerfMonMode : PerfMonMode with get, set
function get PerfMonMode () : PerfMonMode
function set PerfMonMode (value : PerfMonMode)