The Count property specifies the number of objects in a collection.
语法
object.Count
| Part | Description | 
|---|---|
| object | Expression that evaluates to an object in the Applies To list. | 
Applies To
AlternateSyncPartners Collection (Replication ActiveX)
SQLReplErrors Collection (Replication ActiveX)
Data Type
Long
Modifiable
Read-only
Prototype (C/C++)
HRESULT Count(long* cMembers);