次の方法で共有


Count プロパティ

参照先のコレクションに含まれる ServerProtocol オブジェクトの数を取得します。

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

構文

'宣言
Public ReadOnly Property Count As Integer
    Get
'使用
Dim instance As ServerProtocolCollection
Dim value As Integer

value = instance.Count
public int Count { get; }
public:
virtual property int Count {
    int get () sealed;
}
abstract Count : int
override Count : int
final function get Count () : int

プロパティ値

型: System. . :: . .Int32
参照先のコレクションに含まれる ServerProtocol オブジェクトの数を示す int32 値です。

実装

ICollection. . :: . .Count