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