Partager via


Server.SetDefaultInitFields Method

Specifies whether all the properties are fetched when objects are instantiated.

Notes

Texte mis à jour :

The SetDefaultInitFields method has several overloads that give you option to set the default initialization fields for a specified type, and for specified properties of the type.

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Liste de surcharge

Nom Description
Server.SetDefaultInitFields (Boolean)
Specifies all the properties are fetched when objects are instantiated.
Server.SetDefaultInitFields (Type, Boolean)
Specifies all the properties are fetched when objects of the specified type are instantiated.
Server.SetDefaultInitFields (Type, String[])
Specifies the properties that are fetched when objects of the specified type are instantiated.
Server.SetDefaultInitFields (Type, StringCollection)
Specifies the properties that are fetched when objects of the specified type are instantiated.

Voir aussi

Référence

Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace

Autres ressources

How to: Set Default Initialization Fields in Visual Basic .NET
Setting Properties
Calling Methods
Gestion des serveurs