Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets a property, will overwrite if already set.
Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Sub SetProperty ( _
    propertyScope As IdentityPropertyScope, _
    name As String, _
    value As Object _
)
public void SetProperty(
    IdentityPropertyScope propertyScope,
    string name,
    Object value
)
public:
void SetProperty(
    IdentityPropertyScope propertyScope, 
    String^ name, 
    Object^ value
)
member SetProperty : 
        propertyScope:IdentityPropertyScope * 
        name:string * 
        value:Object -> unit
public function SetProperty(
    propertyScope : IdentityPropertyScope, 
    name : String, 
    value : Object
)
Parameters
- propertyScope 
 Type: Microsoft.TeamFoundation.Framework.Common.IdentityPropertyScope- Name of the property. 
- name 
 Type: System.String- Value of the property. 
- value 
 Type: System.Object- Indicates if local or global property is set. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.