Returns the name of the publication identified by the specified publication ID. Publication IDs are not publication masks.
Public Function GetPublicationName( _
ByVal pubID As Integer _
) As String
public string GetPublicationName(
pubID The ID of the publication. The value must be in the range [1,PublicationCount].
The publication name as a string.
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.