ResourceLockManagementCmdletBase.Scope 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 scope.
[System.Management.Automation.Parameter(HelpMessage="The scope. e.g. to specify a database '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaserName}', to specify a resource group: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'", Mandatory=true, ParameterSetName="BySpecifiedScope", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string Scope { get; set; }
[System.Management.Automation.ValidateNotNullOrEmpty]
[System.Management.Automation.Parameter(HelpMessage="The scope. e.g. to specify a database '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaserName}', to specify a resoruce group: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'", Mandatory=true, ParameterSetName="BySpecifiedScope", ValueFromPipelineByPropertyName=true)]
public string Scope { get; set; }
[<System.Management.Automation.Parameter(HelpMessage="The scope. e.g. to specify a database '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaserName}', to specify a resource group: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'", Mandatory=true, ParameterSetName="BySpecifiedScope", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Scope : string with get, set
[<System.Management.Automation.ValidateNotNullOrEmpty>]
[<System.Management.Automation.Parameter(HelpMessage="The scope. e.g. to specify a database '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaserName}', to specify a resoruce group: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'", Mandatory=true, ParameterSetName="BySpecifiedScope", ValueFromPipelineByPropertyName=true)>]
member this.Scope : string with get, set
Public Property Scope As String
Property Value
- Attributes