Método ProxyAccount.Rename
Renames a proxy account.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub Rename ( _
newName As String _
)
'Uso
Dim instance As ProxyAccount
Dim newName As String
instance.Rename(newName)
public void Rename(
string newName
)
public:
virtual void Rename(
String^ newName
) sealed
abstract Rename :
newName:string -> unit
override Rename :
newName:string -> unit
public final function Rename(
newName : String
)
Parâmetros
- newName
Tipo: System.String
A String value that specifies the new name of the proxy account.
Implementa
Exemplos
Agendando tarefas administrativas automáticas no SQL Server Agent
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo.Agent