다음을 통해 공유


SPPersistedObject Constructor (String, SPPersistedObject, Guid)

Initializes a new instance of the SPPersistedObject class based on the specified name, parent object, and GUID.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedConstructor)> _
Protected Sub New ( _
    name As String, _
    parent As SPPersistedObject, _
    id As Guid _
)
'Usage
Dim name As String
Dim parent As SPPersistedObject
Dim id As Guid

Dim instance As New SPPersistedObject(name, parent, _
    id)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedConstructor)]
protected SPPersistedObject(
    string name,
    SPPersistedObject parent,
    Guid id
)

Parameters

  • name
    Type: System.String

    A string that contains a name for the persisted object.

  • id
    Type: System.Guid

    A unique identifier for the persisted object.

See Also

Reference

SPPersistedObject Class

SPPersistedObject Members

SPPersistedObject Overload

Microsoft.SharePoint.Administration Namespace