SPPersistedObject.WasCreated property

Gets a Boolean value that indicates whether the object is initialized and can be found in the database.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Friend ReadOnly Property WasCreated As Boolean
    Get
'Usage
Dim value As Boolean

value = Me.WasCreated
protected internal bool WasCreated { get; }

Property value

Type: System.Boolean
true if the object was initialized and is in the database; otherwise false.

See also

Reference

SPPersistedObject class

SPPersistedObject members

Microsoft.SharePoint.Administration namespace