Aracılığıyla paylaş


HostServices.GetNodeAffinity(String) Method

Definition

Retrieves the node affinity for a particular project file.

public:
 Microsoft::Build::Execution::NodeAffinity GetNodeAffinity(System::String ^ projectFile);
public Microsoft.Build.Execution.NodeAffinity GetNodeAffinity (string projectFile);
member this.GetNodeAffinity : string -> Microsoft.Build.Execution.NodeAffinity
Public Function GetNodeAffinity (projectFile As String) As NodeAffinity

Parameters

projectFile
String

The project file associated with the node.

Returns

The node affinity for the given project file.

Applies to