Share via


Propriété MaxServerMemory

Obtient l'objet ConfigProperty utilisé pour définir l'option de configuration Mémoire maximum du serveur.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property MaxServerMemory As ConfigProperty
    Get
'Utilisation
Dim instance As Configuration
Dim value As ConfigProperty

value = instance.MaxServerMemory
public ConfigProperty MaxServerMemory { get; }
public:
property ConfigProperty^ MaxServerMemory {
    ConfigProperty^ get ();
}
member MaxServerMemory : ConfigProperty
function get MaxServerMemory () : ConfigProperty

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo. . :: . .ConfigProperty
Objet ConfigProperty qui spécifie les paramètres de l'option de configuration Mémoire maximum du serveur.

Notes

This property specifies the maximum amount of memory, in MB, in the buffer pool used by an instance of SQL Server.