DistributionPublicationCollection.Item Propiedad (String, String)
Gets a DistributionPublication object in the collection by the properties that uniquely define the publication at the Distributor.
Espacio de nombres: Microsoft.SqlServer.Replication
Ensamblado: Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
publicationDBName As String, _
publicationName As String _
) As DistributionPublication
Get
'Uso
Dim instance As DistributionPublicationCollection
Dim publicationDBName As String
Dim publicationName As String
Dim value As DistributionPublication
value = instance(publicationDBName, publicationName)
public DistributionPublication this[
string publicationDBName,
string publicationName
] { get; }
public:
property DistributionPublication^ default[String^ publicationDBName, String^ publicationName] {
DistributionPublication^ get (String^ publicationDBName, String^ publicationName);
}
member Item : DistributionPublication
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- publicationDBName
Tipo: System.String
A String value that specifies the publication database.
- publicationName
Tipo: System.String
A String value that specifies the name of the publication.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Replication.DistributionPublication
A DistributionPublication object.
Comentarios
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.