Remove-SPSiteSubscriptionProfileConfig

User Profile Service 응용 프로그램에서 사이트 구독을 삭제합니다.

Syntax

Remove-SPSiteSubscriptionProfileConfig
      [-Identity] <SPSiteSubscriptionPipeBind>
      -ProfileServiceApplicationProxy <SPServiceApplicationProxyPipeBind>
      [-AssignmentCollection <SPAssignmentCollection>]
      [-Confirm]
      [-WhatIf]
      [<CommonParameters>]
Remove-SPSiteSubscriptionProfileConfig
      -ServiceContext <SPServiceContextPipeBind>
      [-AssignmentCollection <SPAssignmentCollection>]
      [-Confirm]
      [-WhatIf]
      [<CommonParameters>]

Description

cmdlet은 Remove-SPSiteSubscriptionProfileConfig User Profile Service 애플리케이션에서 사이트 구독을 삭제합니다.

SharePoint 제품용 Windows PowerShell에 대한 사용 권한 및 최신 정보는 SharePoint Server Cmdlets를 참조하세요.

예제

----------------EXAMPLE-----------------

$sub = Get-SPSiteSubscription https://contoso/my
$pr = Get-SPServiceApplicationProxy | ?{$_.DisplayName.Contains(PartitionedUserProfileApplication_Proxy)}
Remove-SPSiteSubscriptionProfileConfig -Identity $sub -ProfileServiceApplicationProxy $pr

이 예제에서는 테넌트 데이터를 제거합니다.

매개 변수

-AssignmentCollection

Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.

When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

Type:SPAssignmentCollection
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-Confirm

Prompts you for confirmation before executing the command. For more information, type the following command: get-help about_commonparameters

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-Identity

삭제할 사이트 구독을 포함하는 User Profile Service 응용 프로그램의 프록시를 지정합니다.

형식은 12345678-90ab-cdef-1234-567890bcdefgh 형식의 유효한 GUID, 서비스 응용 프로그램 프록시의 유효한 이름(예: UserProfileSvcProxy1) 또는 유효한 SPServiceApplicationProxy 개체의 인스턴스여야 합니다.

Type:SPSiteSubscriptionPipeBind
Position:1
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-ProfileServiceApplicationProxy

User Profile Service 응용 프로그램에 대한 프록시의 이름입니다.

Type:SPServiceApplicationProxyPipeBind
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-ServiceContext

User Profile Service 응용 프로그램이 연결할 서비스 컨텍스트를 지정합니다.

Type:SPServiceContextPipeBind
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-WhatIf

Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: get-help about_commonparameters

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition