مشاركة عبر


Server.SetDefaultInitFields Method

Include Protected Members
Include Inherited Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method SetDefaultInitFields(Boolean) Specifies that all properties are fetched when objects are instantiated.
Public method SetDefaultInitFields(Type, Boolean) Specifies all the properties are fetched when objects of the specified type are instantiated.
Public method SetDefaultInitFields(Type, StringCollection) Specifies the properties that are fetched when objects of the specified type are instantiated.
Public method SetDefaultInitFields(Type, array<String[]) Specifies the properties that are fetched when objects of the specified type are instantiated.

Top

Remarks

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.

See Also

Reference

Server Class

Microsoft.SqlServer.Management.Smo Namespace