共用方式為


DatabaseCollection.Item Property

Gets a Database object in the collection by name or by index number.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

多載清單

名稱 Description
DatabaseCollection.Item (Int32)
Gets a Database object in the collection by index number.
DatabaseCollection.Item (String)
Gets a Database object in the collection by name.

請參閱

參考

DatabaseCollection Class
DatabaseCollection Members
Microsoft.SqlServer.Management.Smo Namespace

其他資源

Using Collections