ProxyAccount.Reassign 方法

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

命名空间:  Microsoft.SqlServer.Management.Smo.Agent
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub Reassign ( _
    targetProxyAccountName As String _
)
用法
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
)

参数

  • targetProxyAccountName
    类型:System.String
    The new proxy account name.

请参阅

参考

ProxyAccount 类

Microsoft.SqlServer.Management.Smo.Agent 命名空间