SP.Publishing.PublishingSite constructor (sp.publishing)

Initializes a new instance of the SP.Publishing.PublishingSite object.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.Publishing.PublishingSite(Undefined context, Undefined objectPath)