Item 属性 (String, String)

Gets a PublicationMonitor object in the collection by publication database and publication name.

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)

语法

声明
Public ReadOnly Default Property Item ( _
    publicationDBName As String, _
    publicationName As String _
) As PublicationMonitor
    Get
用法
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 支持使用索引属性,但不支持声明新索引属性。

参数

注释

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.