Propriedade do RDL Item (String)
Gets a ServerInstance object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (em Microsoft.SqlServer.SqlWmiManagement.dll)
Sintaxe
'Declaração
Public ReadOnly Default Property Item ( _
name As String _
) As ServerInstance
Get
'Uso
Dim instance As ServerInstanceCollection
Dim name As String
Dim value As ServerInstance
value = instance(name)
public ServerInstance this[
string name
] { get; }
public:
property ServerInstance^ default[String^ name] {
ServerInstance^ get (String^ name);
}
member Item : ServerInstance
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- name
Tipo: System. . :: . .String
A String value that specifies the name 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