次の方法で共有


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