PublicationCount property

The number of publications in the database.

Syntax
Visual Basic

Public Readonly Property PublicationCount As Integer
C#

public int PublicationCount  { get;}
Property value

The number of publications in the database or zero if the connection is not open.

Remarks

Publication IDs range from 1 to PublicationCount, inclusively.

Note: Publication IDs and counts may change during a schema upgrade. To correctly identify a publication, access it by name or refresh the cached IDs and counts after a schema upgrade.

See also