Item-Eigenschaft (String)
Gets a ReplicationDatabase 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 ReplicationDatabase
Get
'Usage
Dim instance As ReplicationDatabaseCollection
Dim name As String
Dim value As ReplicationDatabase
value = instance(name)
public ReplicationDatabase this[
string name
] { get; }
public:
property ReplicationDatabase^ default[String^ name] {
ReplicationDatabase^ get (String^ name);
}
member Item : ReplicationDatabase
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 replication database.
Eigenschaftenwert
Typ: Microsoft.SqlServer.Replication. . :: . .ReplicationDatabase
A ReplicationDatabase object.
Hinweise
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.