ProxyAccount.CredentialName Propiedad
Gets or sets the name of the credential.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property CredentialName As String
Get
Set
'Uso
Dim instance As ProxyAccount
Dim value As String
value = instance.CredentialName
instance.CredentialName = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string CredentialName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ CredentialName {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member CredentialName : string with get, set
function get CredentialName () : String
function set CredentialName (value : String)
Valor de la propiedad
Tipo: System.String
A String value that specifies the name of the credential.
Comentarios
The CredentialName property is used to specify the credential.
The proxy account credential is required to allow the proxy account access to the subsystems for Microsoft SQL Server authenticated logins.
Ejemplos
Programar tareas administrativas automáticas en el Agente SQL Server
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo.Agent