你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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