Export (0) Print
Expand All
Expand Minimize

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)

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

© 2015 Microsoft