Propriété Item (String)
Gets a MergePublication object in the collection by name.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
name As String _
) As MergePublication
Get
'Utilisation
Dim instance As MergePublicationCollection
Dim name As String
Dim value As MergePublication
value = instance(name)
public MergePublication this[
string name
] { get; }
public:
property MergePublication^ default[String^ name] {
MergePublication^ get (String^ name);
}
member Item : MergePublication
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- name
Type : System. . :: . .String
A String value that specifies the name of the merge publication.
Valeur de propriété
Type : Microsoft.SqlServer.Replication. . :: . .MergePublication
A MergePublication object.
Notes
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.