TechNet
Export (0) Print
Expand All

Server.SetDefaultInitFields Method

 

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

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

NameDescription
System_CAPS_pubmethodSetDefaultInitFields(Boolean)

Specifies that all properties are fetched when objects are instantiated.

System_CAPS_pubmethodSetDefaultInitFields(Type, Boolean)

Specifies all the properties are fetched when objects of the specified type are instantiated.

System_CAPS_pubmethodSetDefaultInitFields(Type, String[])

Specifies the properties that are fetched when objects of the specified type are instantiated.

System_CAPS_pubmethodSetDefaultInitFields(Type, StringCollection)

Specifies the properties that are fetched when objects of the specified type are instantiated.

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.

Return to top
Show:
© 2016 Microsoft