匯出 (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

目標平台

本文對您有任何幫助嗎?
(剩餘 1500 個字元)
感謝您提供意見

社群新增項目

顯示:
© 2014 Microsoft. 著作權所有,並保留一切權利。