Gets the id of the collection entity (Site or Library) of this published content.

public abstract string CollectionId { get; }
Type:
string
In this article