Cmdlets for Reckon Accounts Hosted

Build 23.0.8839

Remove-ReckonAccountsHosted Cmdlet

Parameters   Output Objects  

Reckon Accounts Hosted データを削除します。

Syntax

Remove-ReckonAccountsHosted [parameters]

Remarks

Remove-ReckonAccountsHosted コマンドレットを使って、SQL DELETE ステートメントに似た構文を用いてReckon Accounts Hosted データを削除できます。

$conn = Connect-ReckonAccountsHosted -SubscriptionKey "test" -CountryVersion "2021.R2.AU" -CompanyFile "Q:/CData Software.QBW" -User "test" -Password "test" -InitiateOAuth "GETANDREFRESH" -CallbackURL "http://localhost:33333" -OAuthClientId "MyOAuthClientID" -OAuthClientSecret "MyOAuthClientSecret"
Remove-ReckonAccountsHosted -Connection $conn -Table "Customers" -Id "10456255-0015501366"
Where パラメータは主キーを指定するためにも使われます。
Remove-ReckonAccountsHosted -Connection $conn -Table "exTablePowershell;" -Where "Id = 10456255-0015501366"
主キーは、パイプライン上でコマンドレットに渡すこともできます。
Select-ReckonAccountsHosted -Connection $conn -Table Customers -Where "Name = 'Cook, Brian'" | Remove-ReckonAccountsHosted

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839