Propriedade do RDL Item (Int32)
Gets a ServerInstance object in the collection by index number.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (em Microsoft.SqlServer.SqlWmiManagement.dll)
Sintaxe
'Declaração
Public ReadOnly Default Property Item ( _
index As Integer _
) As ServerInstance
Get
'Uso
Dim instance As ServerInstanceCollection
Dim index As Integer
Dim value As ServerInstance
value = instance(index)
public ServerInstance this[
int index
] { get; }
public:
property ServerInstance^ default[int index] {
ServerInstance^ get (int index);
}
member Item : ServerInstance
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- index
Tipo: System. . :: . .Int32
An Int32 value that specifies the position of the ServerInstance object in the ServerInstanceCollection collection.
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Smo.Wmi. . :: . .ServerInstance
A ServerInstance object value that represents an instance of SQL Server.
Consulte também