銷售: 1-800-867-1380

BlobRequest.Put 方法

Constructs a web request to create a new block blob or page blob, or to update the content of an existing block blob.

命名空間: Microsoft.WindowsAzure.StorageClient.Protocol
組件: Microsoft.WindowsAzure.StorageClient (在 microsoft.windowsazure.storageclient.dll 中)

'用途
Dim uri As Uri
Dim timeout As Integer
Dim properties As BlobProperties
Dim blobType As BlobType
Dim leaseId As String
Dim pageBlobSize As Long
Dim returnValue As HttpWebRequest

returnValue = BlobRequest.Put(uri, timeout, properties, blobType, leaseId, pageBlobSize)

public static HttpWebRequest Put (
	Uri uri,
	int timeout,
	BlobProperties properties,
	BlobType blobType,
	string leaseId,
	long pageBlobSize
)
public static HttpWebRequest Put (
	Uri uri, 
	int timeout, 
	BlobProperties properties, 
	BlobType blobType, 
	String leaseId, 
	long pageBlobSize
)
public static function Put (
	uri : Uri, 
	timeout : int, 
	properties : BlobProperties, 
	blobType : BlobType, 
	leaseId : String, 
	pageBlobSize : long
) : HttpWebRequest

參數

uri

The absolute URI to the blob.

timeout

The server timeout interval.

properties

The properties to set for the blob.

blobType

The type of the blob.

leaseId

The lease ID, if the blob has an active lease.

pageBlobSize

For a page blob, the size of the blob. This parameter is ignored for block blobs.

傳回值

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