FileGroup.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.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間