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.