Proprietà Item (String, String)
Gets a PublicationMonitor object in the collection by publication database and publication name.
Spazio dei nomi Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
publicationDBName As String, _
publicationName As String _
) As PublicationMonitor
Get
'Utilizzo
Dim instance As PublicationMonitorCollection
Dim publicationDBName As String
Dim publicationName As String
Dim value As PublicationMonitor
value = instance(publicationDBName, publicationName)
public PublicationMonitor this[
string publicationDBName,
string publicationName
] { get; }
public:
property PublicationMonitor^ default[String^ publicationDBName, String^ publicationName] {
PublicationMonitor^ get (String^ publicationDBName, String^ publicationName);
}
member Item : PublicationMonitor
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- 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.
Valore proprietà
Tipo: Microsoft.SqlServer.Replication. . :: . .PublicationMonitor
A PublicationMonitor object.
Osservazioni
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.
Vedere anche