DistributionDatabaseCollection.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a DistributionDatabase object in the collection, by index number or by database name.
Overloads
Item[Int32] |
Gets a DistributionDatabase object in the collection by index number. |
Item[String] |
Gets a DistributionDatabase object in the collection by database name. |
Remarks
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.
Item[Int32]
Gets a DistributionDatabase object in the collection by index number.
public:
property Microsoft::SqlServer::Replication::DistributionDatabase ^ default[int] { Microsoft::SqlServer::Replication::DistributionDatabase ^ get(int index); };
public Microsoft.SqlServer.Replication.DistributionDatabase this[int index] { get; }
member this.Item(int) : Microsoft.SqlServer.Replication.DistributionDatabase
Default Public ReadOnly Property Item(index As Integer) As DistributionDatabase
Parameters
- index
- Int32
An Int32 value that specifies the position of the DistributionDatabase object in the DistributionDatabaseCollection.
Property Value
A DistributionDatabase object.
Remarks
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.
Applies to
Item[String]
Gets a DistributionDatabase object in the collection by database name.
public:
property Microsoft::SqlServer::Replication::DistributionDatabase ^ default[System::String ^] { Microsoft::SqlServer::Replication::DistributionDatabase ^ get(System::String ^ name); };
public Microsoft.SqlServer.Replication.DistributionDatabase this[string name] { get; }
member this.Item(string) : Microsoft.SqlServer.Replication.DistributionDatabase
Default Public ReadOnly Property Item(name As String) As DistributionDatabase
Parameters
Property Value
A DistributionDatabase object.
Remarks
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.