Microsoft.Azure.Commands.SiteRecovery.GetAzureRmSiteRecoveryProtectionContainer.GetByFabric C# (CSharp) Method

GetByFabric() private method

Queries all Protection Containers under given Fabric.
private GetByFabric ( ) : void
return void
        private void GetByFabric()
        {
            ProtectionContainerListResponse protectionContainerListResponse = RecoveryServicesClient.GetAzureSiteRecoveryProtectionContainer(this.Fabric.Name);
            this.WriteProtectionContainers(protectionContainerListResponse.ProtectionContainers);
        }