Méthode ProxyAccount.AddLogin
Adds a Microsoft Windows login account to the proxy account.
Espace de noms : Microsoft.SqlServer.Management.Smo.Agent
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub AddLogin ( _
loginName As String _
)
'Utilisation
Dim instance As ProxyAccount
Dim loginName As String
instance.AddLogin(loginName)
public void AddLogin(
string loginName
)
public:
void AddLogin(
String^ loginName
)
member AddLogin :
loginName:string -> unit
public function AddLogin(
loginName : String
)
Paramètres
- loginName
Type : System.String
A String value that specifies the Windows login account that is associated with the proxy account.
Exemples
Planification des tâches administratives automatiques dans l'Agent SQL Server
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo.Agent