New-SPSecureStoreTargetApplication

创建新的安全存储目标应用程序。

语法

New-SPSecureStoreTargetApplication
   -ApplicationType <TargetApplicationType>
   -FriendlyName <String>
   -Name <String>
   [-AssignmentCollection <SPAssignmentCollection>]
   [-ContactEmail <String>]
   [-SetCredentialsUri <Uri>]
   [-TimeoutInMinutes <Int32>]
   [<CommonParameters>]

说明

New-SPSecureStoreTargetApplication cmdlet 创建新的 Secure Store Target 应用程序。

有关适用于 SharePoint 产品的 Windows PowerShell 的权限和最新信息,请参阅 SharePoint Server cmdlet

示例

------------------示例 1------------------

New-SPSecureStoreTargetApplication -Name "ContosoTargetApplication" -FriendlyName "Contoso Target Application" -ApplicationType Group

此示例使用给定名称和友好显示名称创建一个新组类型目标应用程序。

参数

-ApplicationType

指定目标应用程序的类型。

键入的值必须是下列值之一:Individual、Group、IndividualWithTicketing、GroupWithTicketing、RestrictedIndividual 或 RestrictedGroup。

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

-ContactEmail

指定目标应用程序的联系人信息。

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

-FriendlyName

指定新的目标应用程序的名称。

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

-SetCredentialsUri

指定用于设置用户应用程序凭据的 URI。

在窗体文件\\:server_name\sitedocs 中,该类型必须是有效的 URI。

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

-TimeoutInMinutes

The time, in minutes, a ticket is valid if it is not redeemed by the target application. Make sure that the ticket time-out value is long enough to last between the time when the ticket is issued to the time that it is redeemed The default value is 2.

键入的值必须为有效整数。

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

-名称

指定新的目标应用程序的显示名称。

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

-工作分配

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