导出 (0) 打印
全部展开

BlobRequest.Lease 方法

Constructs a web request to use to acquire, renew, release or break the lease for the blob.

命名空间: Microsoft.WindowsAzure.StorageClient.Protocol
程序集: Microsoft.WindowsAzure.StorageClient(在 microsoft.windowsazure.storageclient.dll 中)

用法
Dim uri As Uri
Dim timeout As Integer
Dim action As LeaseAction
Dim leaseId As String
Dim returnValue As HttpWebRequest

returnValue = BlobRequest.Lease(uri, timeout, action, leaseId)

public:
static HttpWebRequest^ Lease (
	Uri^ uri, 
	int timeout, 
	LeaseAction action, 
	String^ leaseId
)
public static HttpWebRequest Lease (
	Uri uri, 
	int timeout, 
	LeaseAction action, 
	String leaseId
)
public static function Lease (
	uri : Uri, 
	timeout : int, 
	action : LeaseAction, 
	leaseId : String
) : HttpWebRequest

参数

uri

The absolute URI to the blob.

timeout

The server timeout interval.

action

The lease action to perform.

leaseId

The lease ID.

返回值

A web request to use to perform the operation.

此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不保证所有实例成员都是线程安全的。

开发平台

Windows XP Home Edition, Windows XP Professional, Windows Server 2003、Windows Server 2008 和 Windows 2000

目标平台

社区附加资源

显示:
© 2014 Microsoft