Свойство Item (String)
Gets a User object in the collection by name.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public ReadOnly Default Property Item ( _
name As String _
) As User
Get
'Применение
Dim instance As UserCollection
Dim name As String
Dim value As User
value = instance(name)
public User this[
string name
] { get; }
public:
property User^ default[String^ name] {
User^ get (String^ name);
}
member Item : User
JScript поддерживает использование индексированных свойств, но не объявление новых.
Параметры
- name
Тип: System. . :: . .String
A String value that specifies the name of the User object in the UserCollection collection.
Значение свойства
Тип: Microsoft.SqlServer.Management.Smo. . :: . .User
A User object value that represents the database user.
См. также