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
<DisplayNameKeyAttribute("Server_PerfMonModeName")> _
<DisplayDescriptionKeyAttribute("Server_PerfMonModeDesc")> _
Property PerfMonMode As PerfMonMode
    Get
    Set
'Usage
Dim instance As IServerSettings
Dim value As PerfMonMode

value = instance.PerfMonMode

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