public static void AcquireBlobInfiniteLease( SqlString accountName, SqlString sharedKey, SqlBoolean useHTTPS, SqlString containerName, SqlString blobName, SqlGuid proposedLeaseId, SqlInt32 timeoutSeconds, SqlGuid xmsclientrequestId) { AzureBlobService abs = new AzureBlobService(accountName.Value, sharedKey.Value, useHTTPS.Value); Container cont = abs.GetContainer(containerName.Value); Blob blob = cont.GetBlob(blobName.Value); Responses.LeaseBlobResponse lbr = blob.AcquireInfiniteLease( proposedLeaseId.IsNull ? (Guid?)null : proposedLeaseId.Value, timeoutSeconds.IsNull ? 0 : timeoutSeconds.Value, xmsclientrequestId.IsNull ? (Guid?)null : xmsclientrequestId.Value); PushLeaseBlobResponse(lbr); }