HasMemoryOptimizedObjects Property
Collapse the table of content
Expand the table of content

Database.HasMemoryOptimizedObjects Property


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: System.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.

Return to top
© 2015 Microsoft