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