Condividi tramite


Proprietà LinkedServerLogin.Name

Gets or sets the name of the linked server log-in.

Questa API non è conforme a CLS. 

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
<SfcReferenceAttribute(GetType(Login), "Server[@Name = '{0}']/Login[@Name = '{1}']",  _
    )> _
<CLSCompliantAttribute(False)> _
<SfcKeyAttribute()> _
Public Overrides Property Name As String 
    Get 
    Set
'Utilizzo
Dim instance As LinkedServerLogin 
Dim value As String 

value = instance.Name

instance.Name = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
[SfcReferenceAttribute(typeof(Login), "Server[@Name = '{0}']/Login[@Name = '{1}']", 
    )]
[CLSCompliantAttribute(false)]
[SfcKeyAttribute()]
public override string Name { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
[SfcReferenceAttribute(typeof(Login), L"Server[@Name = '{0}']/Login[@Name = '{1}']", 
    )]
[CLSCompliantAttribute(false)]
[SfcKeyAttribute()]
public:
virtual property String^ Name {
    String^ get () override;
    void set (String^ value) override;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
[<SfcReferenceAttribute(typeof(Login), "Server[@Name = '{0}']/Login[@Name = '{1}']", 
    )>]
[<CLSCompliantAttribute(false)>]
[<SfcKeyAttribute()>]
abstract Name : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
[<SfcReferenceAttribute(typeof(Login), "Server[@Name = '{0}']/Login[@Name = '{1}']", 
    )>]
[<CLSCompliantAttribute(false)>]
[<SfcKeyAttribute()>]
override Name : string with get, set
override function get Name () : String 
override function set Name (value : String)

Valore proprietà

Tipo: System.String
A string value that contains the name of the linked server log-in.

Vedere anche

Riferimento

LinkedServerLogin Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo