Freigeben über


ProxyAccount.Reassign-Methode

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
)

Parameter

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

Siehe auch

Verweis

ProxyAccount Klasse

Microsoft.SqlServer.Management.Smo.Agent-Namespace