共用方式為


DatabaseRoleCollection.Item Property

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

備註

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

多載清單

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

請參閱

參考

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

其他資源

Using Collections