Condividi tramite


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

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo.Default
A Default object value that represents the default.

Esempi

Utilizzo delle raccolte

Vedere anche

Riferimento

DefaultCollection Classe

Overload Item

Spazio dei nomi Microsoft.SqlServer.Management.Smo