Proprietà DefaultCollection.Item (String)
Gets a Default object in the collection by name.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
name As String _
) As Default
Get
'Utilizzo
Dim instance As DefaultCollection
Dim name As String
Dim value As Default
value = instance(name)
public Default this[
string name
] { get; }
public:
property Default^ default[String^ name] {
Default^ get (String^ name);
}
member Item : Default
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- name
Tipo: System.String
A String value that specifies the name of the Default object in the DefaultCollection collection.
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Smo.Default
A Default object value that represents the default.