ServiceDefinition.AddLocationMapping Method
Namespace: Microsoft.VisualStudio.Services.Location
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Sub AddLocationMapping ( _
accessMapping As AccessMapping, _
location As String _
)
public void AddLocationMapping(
AccessMapping accessMapping,
string location
)
public:
void AddLocationMapping(
AccessMapping^ accessMapping,
String^ location
)
member AddLocationMapping :
accessMapping:AccessMapping *
location:string -> unit
public function AddLocationMapping(
accessMapping : AccessMapping,
location : String
)
Parameters
- accessMapping
Type: Microsoft.VisualStudio.Services.Location.AccessMapping
- location
Type: System.String
.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.