次の方法で共有


PerfMonMode プロパティ

SQL Server のインスタンスの PerfMonMode を取得します。値の設定も可能です。

名前空間:  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)