共用方式為


ApplicationDeployment.UpdateLocation Property

Definition

Gets the Web site or file share from which this application updates itself.

public:
 property Uri ^ UpdateLocation { Uri ^ get(); };
public Uri UpdateLocation { get; }
member this.UpdateLocation : Uri
Public ReadOnly Property UpdateLocation As Uri

Property Value

Uri

The update path, expressed as an HTTP, HTTPS, or file URL; or as a Windows network file path (UNC).

Remarks

UpdateLocation may be different from the Web site used to download the application initially if the application's deployment is configured to use update redirection.

This value can be changed only in the application's deployment manifest.

Applies to

See also