LinkedServerLoginCollection.Item Property (String)
Gets a LinkedServerLogin object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public ReadOnly Default Property Item ( _
name As String _
) As LinkedServerLogin
Get
'Kullanım
Dim instance As LinkedServerLoginCollection
Dim name As String
Dim value As LinkedServerLogin
value = instance(name)
public LinkedServerLogin this[
string name
] { get; }
public:
property LinkedServerLogin^ default[String^ name] {
LinkedServerLogin^ get (String^ name);
}
member Item : LinkedServerLogin
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A String value that specifies the name of the LinkedServerLogin object in the LinkedServerLoginCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.LinkedServerLogin
A LinkedServerLogin object value that represents the linked server login.