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