Processors プロパティ
SQL Server のインスタンスを実行しているコンピュータにインストールされているプロセッサの数を取得します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property Processors As Integer
Get
'使用
Dim instance As Information
Dim value As Integer
value = instance.Processors
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public int Processors { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
property int Processors {
int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
member Processors : int
function get Processors () : int
プロパティ値
型: System. . :: . .Int32
インストールされているプロセッサの数を示す Int32 値です。