Server.SetDefaultInitFields 方法

包括受保护的成员
包括继承的成员

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

此成员被重载。有关此成员的完整信息,包括语法、用法和示例,请单击重载列表中的名称。

重载列表

  名称 说明
公共方法 SetDefaultInitFields(Boolean) Specifies that all properties are fetched when objects are instantiated.
公共方法 SetDefaultInitFields(Type, Boolean) Specifies all the properties are fetched when objects of the specified type are instantiated.
公共方法 SetDefaultInitFields(Type, StringCollection) Specifies the properties that are fetched when objects of the specified type are instantiated.
公共方法 SetDefaultInitFields(Type, array<String[]) 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.

请参阅

参考

Server 类

Microsoft.SqlServer.Management.Smo 命名空间