共用方式為


LinkedServerLogin.Name Property

Definition

Important

This API is not CLS-compliant.

Name of linked server login

[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcKey(0)]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.ReadOnlyAfterCreation | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone)]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcReference(typeof(Microsoft.SqlServer.Management.Smo.Login), "Server[@Name = '{0}']/Login[@Name = '{1}']", new System.String[] { "Parent.Parent.ConnectionContext.TrueName", "Name" })]
[System.CLSCompliant(false)]
public override string Name { get; set; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcKey(0)>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.ReadOnlyAfterCreation | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone)>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcReference(typeof(Microsoft.SqlServer.Management.Smo.Login), "Server[@Name = '{0}']/Login[@Name = '{1}']", new System.String[] { "Parent.Parent.ConnectionContext.TrueName", "Name" })>]
[<System.CLSCompliant(false)>]
member this.Name : string with get, set
Public Overrides Property Name As String

Property Value

Attributes

Applies to