Database.HasMemoryOptimizedObjects Database.HasMemoryOptimizedObjects Database.HasMemoryOptimizedObjects Property

Definition

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

public:
 property bool HasMemoryOptimizedObjects { bool get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Expensive | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase)]
public bool HasMemoryOptimizedObjects { get; }
Public ReadOnly Property HasMemoryOptimizedObjects As Boolean
Property Value

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

Remarks

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.

Applies to