다음을 통해 공유


SPPersistedObject Constructor (String, SPPersistedObject)

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

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 _
)
'Usage
Dim name As String
Dim parent As SPPersistedObject

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

Parameters

  • name
    Type: System.String

    A string that contains a name for the new persisted object.

See Also

Reference

SPPersistedObject Class

SPPersistedObject Members

SPPersistedObject Overload

Microsoft.SharePoint.Administration Namespace