Partager via


Adddataconnectionfile : opération Stsadm (Office SharePoint Server)

Mise à jour : 2007-09-13

Description

Adds a new data connection file to the DataConnectionFiles collection for InfoPath Forms Services.

Syntax

stsadm -o adddataconnectionfile

-filename <Path to file to add>

[-webaccessible] {Yes | No}

[-overwrite] {Yes | No}

[-category] <A string value>

Parameters

Parameter name Value Required? Description

filename

The name of a valid data connection file, such as "C:\foldername\myconnection.udcx"

Yes

The full path to the file to upload into the collection.

webaccessible

One of the following values:

  • Yes

  • No (Default)

No

Determines whether the Universal Data Connection file can be accessed by using the Web service. If this is No, then only the forms server can retrieve the Universal Data Connection files internally.

overwrite

One of the following values:

  • Yes (Default)

  • No

No

Determines whether to overwrite the file if it exists.

category

A valid string value, such as "Category1"

No

Sets an arbitrary category on the file which can be used to group the files.