Condividi tramite


Proprietà FileGroupCollection.Item (String)

Gets a FileGroup 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 FileGroup 
    Get
'Utilizzo
Dim instance As FileGroupCollection 
Dim name As String 
Dim value As FileGroup 

value = instance(name)
public FileGroup this[
    string name
] { get; }
public:
property FileGroup^ default[String^ name] {
    FileGroup^ get (String^ name);
}
member Item : FileGroup
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo.FileGroup
A FileGroup object value that represents the filegroup.

Esempi

Utilizzo delle raccolte

Vedere anche

Riferimento

FileGroupCollection Classe

Overload Item

Spazio dei nomi Microsoft.SqlServer.Management.Smo