Compartilhar via


Propriedade do RDL Credential

Gets the credential associated with the login.

Essa API não é compatível com CLS. 

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<CLSCompliantAttribute(False)> _
<SfcReferenceAttribute(GetType(Credential), "Server[@Name = '{0}']/Credential[@Name = '{1}']",  _
    )> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone, "string.empty")> _
Public Property Credential As String
    Get
    Set
'Uso
Dim instance As Login
Dim value As String

value = instance.Credential

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

Valor da propriedade

Tipo: System. . :: . .String
A String value that specifies the credential associated with the login.

Implementa

ILoginOptions. . :: . .Credential