Partilhar via


Método ProxyAccount.Reassign

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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub Reassign ( _
    targetProxyAccountName As String _
)
'Uso
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
)

Parâmetros

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

Consulte também

Referência

ProxyAccount Classe

Namespace Microsoft.SqlServer.Management.Smo.Agent