共用方式為


VCConfiguration.PerUserRedirection Property

Gets a value that indicates whether COM registration for the current configuration is per-user or per-computer.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

'宣告
ReadOnly Property PerUserRedirection As Boolean
    Get
bool PerUserRedirection { get; }
property bool PerUserRedirection {
    bool get ();
}
abstract PerUserRedirection : bool
function get PerUserRedirection () : boolean

Property Value

Type: System.Boolean
true if registration of the current configuration is per-user; false if registration is per-computer.

Remarks

Per-computer registration requires administrative credentials for the computer.

.NET Framework Security

See Also

Reference

VCConfiguration Interface

Microsoft.VisualStudio.VCProjectEngine Namespace