ResourceLockManagementCmdletBase.ResourceName Property
Definition
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.
Gets or sets the resource name parameter.
[System.Management.Automation.Parameter(HelpMessage="The resource name. e.g. to specify a database MyServer/MyDatabase.", Mandatory=true, ParameterSetName="ByResourceGroupLevel", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(HelpMessage="The resource name. e.g. to specify a database MyServer/MyDatabase.", Mandatory=true, ParameterSetName="BySubscriptionLevel", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string ResourceName { get; set; }
[System.Management.Automation.Parameter(HelpMessage="The resource name. e.g. to specify a database MyServer/MyDatabase.", Mandatory=true, ParameterSetName="ByResourceGroupLevel", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(HelpMessage="The resource name. e.g. to specify a database MyServer/MyDatabase.", Mandatory=true, ParameterSetName="BySubscriptionLevel", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
[System.Management.Automation.Parameter(HelpMessage="The resource name. e.g. to specify a database MyServer/MyDatabase.", Mandatory=true, ParameterSetName="ByTenantLevel", ValueFromPipelineByPropertyName=true)]
public string ResourceName { get; set; }
[<System.Management.Automation.Parameter(HelpMessage="The resource name. e.g. to specify a database MyServer/MyDatabase.", Mandatory=true, ParameterSetName="ByResourceGroupLevel", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(HelpMessage="The resource name. e.g. to specify a database MyServer/MyDatabase.", Mandatory=true, ParameterSetName="BySubscriptionLevel", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.ResourceName : string with get, set
[<System.Management.Automation.Parameter(HelpMessage="The resource name. e.g. to specify a database MyServer/MyDatabase.", Mandatory=true, ParameterSetName="ByResourceGroupLevel", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(HelpMessage="The resource name. e.g. to specify a database MyServer/MyDatabase.", Mandatory=true, ParameterSetName="BySubscriptionLevel", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
[<System.Management.Automation.Parameter(HelpMessage="The resource name. e.g. to specify a database MyServer/MyDatabase.", Mandatory=true, ParameterSetName="ByTenantLevel", ValueFromPipelineByPropertyName=true)>]
member this.ResourceName : string with get, set
Public Property ResourceName As String
Property Value
- Attributes