次の方法で共有


IServerPerformanceFacet.MaxDegreeOfParallelism プロパティ

SQL Server のインスタンスの MaxDegreeOfParallelism プロパティを取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<DisplayNameKeyAttribute("ServerPerformanceName")> _
<DisplayDescriptionKeyAttribute("ServerPerformanceDesc")> _
Property MaxDegreeOfParallelism As Integer 
    Get 
    Set
'使用
Dim instance As IServerPerformanceFacet 
Dim value As Integer 

value = instance.MaxDegreeOfParallelism

instance.MaxDegreeOfParallelism = value
[DisplayNameKeyAttribute("ServerPerformanceName")]
[DisplayDescriptionKeyAttribute("ServerPerformanceDesc")]
int MaxDegreeOfParallelism { get; set; }
[DisplayNameKeyAttribute(L"ServerPerformanceName")]
[DisplayDescriptionKeyAttribute(L"ServerPerformanceDesc")]
property int MaxDegreeOfParallelism {
    int get ();
    void set (int value);
}
[<DisplayNameKeyAttribute("ServerPerformanceName")>]
[<DisplayDescriptionKeyAttribute("ServerPerformanceDesc")>]
abstract MaxDegreeOfParallelism : int with get, set
function get MaxDegreeOfParallelism () : int 
function set MaxDegreeOfParallelism (value : int)

プロパティ値

型: System.Int32
SQL Server のインスタンスの MaxDegreeOfParallelism プロパティです。

関連項目

参照

IServerPerformanceFacet インターフェイス

Microsoft.SqlServer.Management.Smo 名前空間