Compartilhar via


ResourceLockManagementCmdletBase.Scope Property

Definition

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

Applies to