다음을 통해 공유


Database.EnumObjects Method

Definition

Overloads

EnumObjects(DatabaseObjectTypes)
EnumObjects()
EnumObjects(DatabaseObjectTypes, SortOrder)

The ListObjects method returns a SQLObjectList object that enumerates the system and user-defined objects defining the database referenced.

EnumObjects(DatabaseObjectTypes)

public System.Data.DataTable EnumObjects (Microsoft.SqlServer.Management.Smo.DatabaseObjectTypes types);
member this.EnumObjects : Microsoft.SqlServer.Management.Smo.DatabaseObjectTypes -> System.Data.DataTable
Public Function EnumObjects (types As DatabaseObjectTypes) As DataTable

Parameters

Returns

Applies to

EnumObjects()

public System.Data.DataTable EnumObjects ();
member this.EnumObjects : unit -> System.Data.DataTable
Public Function EnumObjects () As DataTable

Returns

Applies to

EnumObjects(DatabaseObjectTypes, SortOrder)

The ListObjects method returns a SQLObjectList object that enumerates the system and user-defined objects defining the database referenced.

public System.Data.DataTable EnumObjects (Microsoft.SqlServer.Management.Smo.DatabaseObjectTypes types, Microsoft.SqlServer.Management.Smo.SortOrder order);
member this.EnumObjects : Microsoft.SqlServer.Management.Smo.DatabaseObjectTypes * Microsoft.SqlServer.Management.Smo.SortOrder -> System.Data.DataTable
Public Function EnumObjects (types As DatabaseObjectTypes, order As SortOrder) As DataTable

Parameters

order
SortOrder

Returns

Applies to