Item-Eigenschaft (String)
Gets a DistributionDatabase object in the collection by database name.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As DistributionDatabase
Get
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- name
Typ: System. . :: . .String
A String value that specifies the name of the distribution database.
Eigenschaftswert
Typ: Microsoft.SqlServer.Replication. . :: . .DistributionDatabase
A DistributionDatabase object.
Hinweise
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.