ServerGroupCollection.Count 属性

Gets the number of objects in the referenced collection.

命名空间:  Microsoft.SqlServer.Management.Smo.RegisteredServers
程序集:  Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)

语法

声明
Public ReadOnly Property Count As Integer 
    Get
用法
Dim instance As ServerGroupCollection 
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
An Int32 value that specifies the number of objects in the referenced collection.

实现

ICollection.Count

示例

使用集合

请参阅

参考

ServerGroupCollection 类

Microsoft.SqlServer.Management.Smo.RegisteredServers 命名空间

其他资源

使用集合