Credential 屬性
Gets the credential associated with the login.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcPropertyAttribute> _
Public Property Credential As String
Get
Set
'用途
Dim instance As Login
Dim value As String
value = instance.Credential
instance.Credential = value
[SfcPropertyAttribute]
public string Credential { get; set; }
[SfcPropertyAttribute]
public:
virtual property String^ Credential {
String^ get () sealed;
void set (String^ value) sealed;
}
[<SfcPropertyAttribute>]
abstract Credential : string with get, set
[<SfcPropertyAttribute>]
override Credential : string with get, set
final function get Credential () : String
final function set Credential (value : String)
屬性值
型別:System. . :: . .String
A String value that specifies the credential associated with the login.