HostServices.GetNodeAffinity(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- projectFile
- String
The project file associated with the node.
The node affinity for the given project file.