Partager via


ExecuteProcess.RequireFullFileName Property

Gets or sets a Boolean that indicates whether the full name and extension of the task is required.

Espace de noms: Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
Assembly: Microsoft.SqlServer.ExecProcTask (in microsoft.sqlserver.execproctask.dll)

Syntaxe

'Déclaration
Public Property RequireFullFileName As Boolean
public bool RequireFullFileName { get; set; }
public:
virtual property bool RequireFullFileName {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_RequireFullFileName ()

/** @property */
public final void set_RequireFullFileName (boolean value)
public final function get RequireFullFileName () : boolean

public final function set RequireFullFileName (value : boolean)

Valeur de propriété

true if the full name and extension of the task is required. If set to true, the task should fail when the full file name for the executable cannot be found. Default value is true.

Notes

This Boolean, when set to true, requires that the user enter a file name and the file extension so that the Execute Process task explicitly knows what file name to run. For example, if this property is set to false, then the user can enter ipconfig instead of ipconfig.exe. Note, however, that if this property is set to false, and there are two files with the same name that have different extensions, the task runs the first file it finds with the designated name, regardless of extension.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

ExecuteProcess Class
ExecuteProcess Members
Microsoft.SqlServer.Dts.Tasks.ExecuteProcess Namespace