共用方式為


PerfMonMode 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayDescriptionKeyAttribute("Server_PerfMonModeDesc")> _
<DisplayNameKeyAttribute("Server_PerfMonModeName")> _
Property PerfMonMode As PerfMonMode
    Get
    Set
'用途
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)