New-SPAccessServiceApplication

Crée une instance d’une application Access Services dans SharePoint Server.

Syntax

New-SPAccessServiceApplication
   [-Name <String>]
   -ApplicationPool <SPIisWebServiceApplicationPoolPipeBind>
   [-AssignmentCollection <SPAssignmentCollection>]
   [-CacheTimeout <Int32>]
   [-ColumnsMax <Int32>]
   [-Confirm]
   [-Default]
   [-NonRemotableQueriesAllowed]
   [-OrderByMax <Int32>]
   [-OuterJoinsAllowed]
   [-OutputCalculatedColumnsMax <Int32>]
   [-PrivateBytesMax <Int32>]
   [-RecordsInTableMax <Int32>]
   [-RequestDurationMax <Int32>]
   [-RowsMax <Int32>]
   [-SessionMemoryMax <Int32>]
   [-SessionsPerAnonymousUserMax <Int32>]
   [-SessionsPerUserMax <Int32>]
   [-SourcesMax <Int32>]
   [-TemplateSizeMax <Int32>]
   [-WhatIf]
   [-ApplicationLogSizeMax <Int32>]
   [<CommonParameters>]

Description

L’applet de commande New-SPAccessServiceApplication crée une nouvelle instance d’une application Access Services dans SharePoint Server 2010, SharePoint Server 2013. Une fois la nouvelle application Access Services créée, utilisez l’applet de commande Set-SPAccessServiceApplication pour en modifier les propriétés globales.

Pour les autorisations et les informations les plus récentes sur Windows PowerShell pour les produits SharePoint, consultez la documentation en ligne sur les applets de commande SharePoint Server.

Exemples

------------EXEMPLE 1----------------

New-SPAccessServiceApplication -Name "MyAccessService" -SPIisWebServiceApplicationPool MyAppPool

Cet exemple crée une nouvelle instance d’Access Services appelée MyAccessService qui est exécutée sous le pool d’applications appelé MyAppPool.

------------EXEMPLE 2----------------

New-SPAccessServiceApplication -Name "MyAccessService" -SPIisWebServiceApplicationPool MyAppPool -SessionsPerUserMax 25

Cet exemple crée une nouvelle instance d’Access Services appelée MyAccessService qui est exécutée sous le pool d’applications appelé MyAppPool, qui autorise jusqu’à 25 sessions par utilisateur sur chaque ordinateur de serveur d’applications principal sur lequel Access Services est exécuté.

Paramètres

-ApplicationLogSizeMax

Specifies the maximum number of records for an Access Services Application Log list. Valid valies: -1 to maxint. 0 means none are allowed. The default value is 3000.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-ApplicationPool

Spécifie le pool d’applications IIS (Internet Information Services) existant dans lequel exécuter le service web pour la nouvelle application Access Services.

Le type doit être une instance valide d’un objet SPIisWebServiceApplicationPool.

Type:SPIisWebServiceApplicationPoolPipeBind
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-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 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-CacheTimeout

Specifies the number of seconds that a data cache will remain active on Access Services with no user activity. Valid values include: -1, cache never times out; 1 to 2073600, cache remains active from 1 second to 24 days.

The type must be the integers -1, or an integer in the range of 1 to 2073600 (24 days). The default value is 300.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-ColumnsMax

Specifies the maximum number of columns that a list involved in a query can contain, or that the output of the query can contain. The default value is 30.

Le type doit être un entier compris entre 1 et 255.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-Confirm

Vous demande une confirmation avant d’exécuter la commande. Pour plus d’informations, entrez la commande suivante : 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 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-Name

Specifies the display name of the Access Services application to create. The name can contain a maximum of 128 characters and can contain the comma (,), equal sign (=), or colon (:) characters provided they are enclosed in quotation marks.

Le type doit correspondre à un nom valide d’application Access Services ; par exemple, AppAccessSrv1.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-NonRemotableQueriesAllowed

Spécifie que les requêtes qu’il est impossible d’envoyer à distance à la couche de base de données peuvent être exécutées.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-OrderByMax

Spécifie le nombre maximal de clauses Order By dans la requête. La valeur par défaut est 4.

Le type doit être un entier compris entre 1 et 8.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-OuterJoinsAllowed

Spécifie que les jointures externes gauche et droite sont prises en charge. Les jointures internes sont toujours prises en charge.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-OutputCalculatedColumnsMax

Specifies the maximum number of calculated columns that can be included in the output as a part of the query. Calculated columns in the underlying list are not included. The default value is 10.

Le type doit être un entier compris entre 1 et 32.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-Par défaut

Spécifie que l’application de service est associée à des applications web en ajoutant le proxy de cette application de service à la liste de proxy par défaut de la batterie de serveurs.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-PrivateBytesMax

Specifies the maximum private bytes in megabytes (MB) that can be used by Access Services. When set to -1, Access Services defaults to 75 percent of physical memory on the machine. Valid values are -1 (no limit), and from 1 to any positive integer.The default value is -1.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-RecordsInTableMax

Specifies the maximum number of records allowed for a table in the Access Services application. Valid values include: -1, no limit, and 1 to any positive integer. The default value is 500000.

Le type doit être l’entier -1 ou un entier compris entre 1 et MaxInt.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-RequestDurationMax

Specifies the maximum number of seconds that a request to perform an operation can use before the request times out. Valid values include: -1, no limit, 1 to 2073600, cache remains active 1 second to 24 days. The default value is 30.

Le type doit être l’entier -1 ou un entier compris entre 1 et 2073600 (24 jours).

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-RowsMax

Specifies the maximum number of rows that a list involved in a query can have, or that the output of the query can have. The default value is 50000.

Le type doit être un entier compris entre 1 et 200000.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-SessionMemoryMax

Specifies the maximum allowable size, in megabytes, of an individual session. Valid values include 0, disable property, and 1 to 4095. The default value is 64.

Le type doit être l’entier 0 ou un entier compris entre 1 et 4095.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-SessionsPerAnonymousUserMax

Specifies the maximum number of sessions allowed per user. If this maximum is reached, the oldest session will be deleted when a new session is started. Valid values include: -1, no limit, and 1 to any positive integer. The default value is 10.

Le type doit être l’entier -1 ou un entier compris entre 1 et MaxInt.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-SessionsPerUserMax

Specifies the maximum number of sessions allowed per user. If this maximum is reached, the oldest session will be deleted when a new session is started. Valid values include: -1, no limit, and 1 to any positive integer. The default value is 10.

Le type doit être l’entier -1 ou un entier compris entre 1 et MaxInt.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-SourcesMax

Spécifie le nombre maximal de listes utilisables une fois en tant qu’entrée d’une requête. La valeur par défaut est 8.

Le type doit être un entier compris entre 1 et 20.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-TemplateSizeMax

Taille maximale autorisée en mégaoctets autorisée pour les modèles Access (fichiers de fichiers .accdt) chargés dans la galerie de solutions. Valeurs valides : -1 (illimité), entre 1 et tout entier positif.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-WhatIf

Affiche un message qui explique l’effet de la commande au lieu de l’exécuter. Pour plus d’informations, entrez la commande suivante : 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 2010, SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019