LinkedServerCollection.Item Property (Int32)
Gets a LinkedServer object in the LinkedServerCollection collection by index number.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As LinkedServer
Get
'Usage
Dim instance As LinkedServerCollection
Dim index As Integer
Dim value As LinkedServer
value = instance(index)
public LinkedServer this[
int index
] { get; }
public:
property LinkedServer^ default[int index] {
LinkedServer^ get (int index);
}
member Item : LinkedServer
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Type: System.Int32
An Int32 value that specifies the position of the LinkedServer object in the LinkedServerCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.LinkedServer
A LinkedServer object value that represents the linked server.