Share via


ProxyAccount.Reassign Method

Reassign the job steps that refer to the current proxy account name to a new proxy account name.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Reassign ( _
    targetProxyAccountName As String _
)
'Usage
Dim instance As ProxyAccount 
Dim targetProxyAccountName As String

instance.Reassign(targetProxyAccountName)
public void Reassign(
    string targetProxyAccountName
)
public:
void Reassign(
    String^ targetProxyAccountName
)
member Reassign : 
        targetProxyAccountName:string -> unit
public function Reassign(
    targetProxyAccountName : String
)

Parameters

  • targetProxyAccountName
    Type: System.String
    The new proxy account name.

See Also

Reference

ProxyAccount Class

Microsoft.SqlServer.Management.Smo.Agent Namespace