共用方式為


SP.Site(Context, ObjectPath) Constructor

Applies to: SharePoint Foundation 2010

Initializes a new instance of the SP.Site Class.

var value = new Site(Context, ObjectPath);

Parameters

Context

Type: SP.ClientRuntimeContext

ObjectPath

Type: SP.ObjectPath

Applies To

SP.Site Class

See Also

Reference

SP.Site Methods

SP.Site Properties

SP Namespace