EnumObjects 方法
Enumerates the system and user-defined tables, indexes, and statistics mechanisms stored within a file group.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Function EnumObjects As SqlSmoObject()
用法
Dim instance As FileGroup
Dim returnValue As SqlSmoObject()
returnValue = instance.EnumObjects()
public SqlSmoObject[] EnumObjects()
public:
array<SqlSmoObject^>^ EnumObjects()
member EnumObjects : unit -> SqlSmoObject[]
public function EnumObjects() : SqlSmoObject[]
返回值
类型:array<Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject> [] () [] []
A SqlSmoObject object array that contains all the objects within the file group.