The number of publications in the database.
Visual Basic
Public Readonly Property PublicationCount As Integer
C#
public int PublicationCount { get;}
The number of publications in the database or zero if the connection is not open.
Publication IDs range from 1 to PublicationCount, inclusively. Publication IDs are not publication masks.
Note: Publication IDs, masks, and counts may change during a schema upgrade. To correctly identify a publication, access it by name or refresh the cached IDs, masks, and counts after a schema upgrade.