Propriedade Item (String)
Gets a DistributionDatabase object in the collection by database name.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)
Sintaxe
'Declaração
Public ReadOnly Default Property Item ( _
name As String _
) As DistributionDatabase
Get
'Uso
Dim instance As DistributionDatabaseCollection
Dim name As String
Dim value As DistributionDatabase
value = instance(name)
public DistributionDatabase this[
string name
] { get; }
public:
property DistributionDatabase^ default[String^ name] {
DistributionDatabase^ get (String^ name);
}
member Item : DistributionDatabase
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 distribution database.
Valor da propriedade
Tipo: Microsoft.SqlServer.Replication. . :: . .DistributionDatabase
A DistributionDatabase object.
Comentários
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.