Set-SPOTenantContentTypeReplicationParameters

レプリケーション用のコンテンツ タイプを選択する

構文

ReplicateSelectedContentTypes (既定)

Set-SPOTenantContentTypeReplicationParameters
    -ReplicatedContentTypes <String[]>
    [<CommonParameters>]

ReplicateAllContentTypes

Set-SPOTenantContentTypeReplicationParameters
    [-ReplicateAllContentTypes]
    [<CommonParameters>]

説明

コマンドレットを実行する前に、まずは「Connect-SPOService」を使用して SharePoint Online に接続してください。 既定では、プライマリ ロケーションで公開されているすべてのコンテンツ タイプはサテライトにレプリケートされます。

例

例 1

Set-SPOTenantContentTypeReplicationParameters -ReplicatedContentTypes "ct1","ct2"

テナント管理者は、このコマンドレットを使用して、レプリケート専用の一部のコンテンツ タイプのみを選択し、既定の設定を上書きできます

例 2

Set-SPOTenantContentTypeReplicationParameters -ReplicateAllContentTypes

テナント管理者は、リセットしてすべてのコンテンツ タイプをレプリケートすることもできます。

パラメーター

-ReplicateAllContentTypes

適用対象: SharePoint Online

ReplicateAllContentTypes パラメーターは、すべてのコンテンツ タイプをレプリケートするかどうかを指定します。

パラメーターのプロパティ

型:System.Management.Automation.SwitchParameter
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

ReplicateAllContentTypes
配置:Named
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-ReplicatedContentTypes

適用対象: SharePoint Online

複製する必要があるコンテンツ タイプのコンマ区切りのリストを指定します。

パラメーターのプロパティ

型:

System.String[]

規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

ReplicateSelectedContentTypes
配置:Named
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

CommonParameters

このコマンドレットは、共通パラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable をサポートします。 詳細については、「about_CommonParameters」を参照してください。

入力

None

出力

System.Object