Partilhar via


Propriedade PerfMonMode

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

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

Sintaxe

'Declaração
<DisplayDescriptionKeyAttribute("Server_PerfMonModeDesc")> _
<DisplayNameKeyAttribute("Server_PerfMonModeName")> _
Property PerfMonMode As PerfMonMode
    Get
    Set
'Uso
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)