Item 屬性 (String, String)
Gets a DistributionPublication object in the collection by the properties that uniquely define the publication at the Distributor.
命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)
語法
'宣告
Public ReadOnly Default Property Item ( _
publicationDBName As String, _
publicationName As String _
) As DistributionPublication
Get
'用途
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 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- publicationDBName
型別:System. . :: . .String
A String value that specifies the publication database.
- publicationName
型別:System. . :: . .String
A String value that specifies the name of the publication.
備註
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.