共用方式為


DeploymentScript.FindParentInScope(IConstruct) Method

Definition

Finds the parent resource in the scope.

protected override Azure.Provisioning.Resource? FindParentInScope (Azure.Provisioning.IConstruct scope);
abstract member FindParentInScope : Azure.Provisioning.IConstruct -> Azure.Provisioning.Resource
override this.FindParentInScope : Azure.Provisioning.IConstruct -> Azure.Provisioning.Resource
Protected Overrides Function FindParentInScope (scope As IConstruct) As Resource

Parameters

scope
Azure.Provisioning.IConstruct

The scope.

Returns

Azure.Provisioning.Resource

The parent Azure.Provisioning.Resource.

Applies to