ProxyAccount.Rename-Methode
Renames a proxy account.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Rename ( _
newName As String _
)
'Usage
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
)
Parameter
- newName
Typ: System.String
A String value that specifies the new name of the proxy account.
Implementiert
Beispiele
Planen von automatischen, administrativen Tasks im SQL Server-Agent
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo.Agent-Namespace