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.StringA string that contains a name for the new persisted object.
parent
Type: Microsoft.SharePoint.Administration.SPPersistedObjectThe parent object.