Item propriété (Int32)
Gets a ServerAlias object in the collection by index number.
Espace de noms : Microsoft.SqlServer.Management.Smo.Wmi
Assembly : Microsoft.SqlServer.SqlWmiManagement (dans Microsoft.SqlServer.SqlWmiManagement.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As ServerAlias
Get
'Utilisation
Dim instance As ServerAliasCollection
Dim index As Integer
Dim value As ServerAlias
value = instance(index)
public ServerAlias this[
int index
] { get; }
public:
property ServerAlias^ default[int index] {
ServerAlias^ get (int index);
}
member Item : ServerAlias
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- index
Type : System. . :: . .Int32
An Int32 value that specifies the position of the ServerAlias object in the ServerAliasCollection collection.
Valeur de la propriété
Type : Microsoft.SqlServer.Management.Smo.Wmi. . :: . .ServerAlias
A ServerAlias object value that represents a SQL Server alias.