Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HasMemoryOptimizedObjects Property
Collapse the table of content
Expand the table of content

Database.HasMemoryOptimizedObjects Property

SQL Server 2014

Gets the Boolean value that specifies whether the database contains memory optimized objects.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public bool HasMemoryOptimizedObjects { get; }

Property Value

Type: Boolean
True if a database contains memory optimized objects; otherwise, False.

For more information, see In-Memory OLTP (In-Memory Optimization). For an In-Memory OLTP code sample, see SQL Server Management Objects Support for In-Memory OLTP.

Community Additions

ADD
Show:
© 2015 Microsoft