Compartilhar via


SubscriptionFieldCollection.Item Property (String)

Gets a specific SubscriptionField object in the SubscriptionFieldCollection object by name.

Namespace: Microsoft.SqlServer.Management.Nmo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As SubscriptionField
public SubscriptionField this [
    string name
] { get; }
public:
property SubscriptionField^ default [String^] {
    SubscriptionField^ get (String^ name);
}
/** @property */
public SubscriptionField get_Item (String name)

Parameters

Property Value

A SubscriptionField object that represents a field in the schema of the parent subscription class.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

SubscriptionFieldCollection Class
SubscriptionFieldCollection Members
Microsoft.SqlServer.Management.Nmo Namespace

Other Resources

Defining the Subscription Schema
Field Element for Schema/Fields (ADF)