ServerRoleCollection.Item Property

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

备注

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

重载列表

名称 Description
ServerRoleCollection.Item (Int32)
Gets a ServerRole object in the collection by index number.
ServerRoleCollection.Item (String)
Gets a ServerRole object in the collection by name.

请参阅

参考

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

其他资源

Using Collections